Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.404/1.404, allocations: 230.6 MB / 258.3 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 55.92 kB / 379 MB, free: 2.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2189, allocations: 53.36 MB / 432.4 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005054/0.224, allocations: 3.33 MB / 435.7 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002639/0.2266, allocations: 1.436 MB / 437.2 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003219/0.2269, allocations: 11.94 kB / 437.2 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005716/0.2275, allocations: 147.1 kB / 437.3 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001126/0.2286, allocations: 429.7 kB / 437.7 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.2291, allocations: 187.4 kB / 437.9 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007223/0.2298, allocations: 458.1 kB / 438.4 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000233/0.23, allocations: 116.7 kB / 438.5 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002707/0.2303, allocations: 183.3 kB / 438.7 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003156/0.2306, allocations: 195.2 kB / 438.8 MB, free: 432 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.029e-05/0.2307, allocations: 36 kB / 438.9 MB, free: 396 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000353/0.231, allocations: 171.9 kB / 439 MB, free: 224 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.463e-05/0.2311, allocations: 79.64 kB / 439.1 MB, free: 144 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.2313, allocations: 199 kB / 439.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000717/0.232, allocations: 0.5537 MB / 439.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.232, allocations: 0 / 439.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.232, allocations: 0 / 439.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.2321, allocations: 4 kB / 439.9 MB, free: 15.39 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.00148/0.2335, allocations: 0.6767 MB / 440.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.2336, allocations: 8.031 kB / 440.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007379/0.2343, allocations: 120.6 kB / 440.7 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004948/0.2348, allocations: 259.7 kB / 440.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.738e-05/0.2348, allocations: 29.36 kB / 441 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.062e-05/0.2349, allocations: 32.38 kB / 441 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000615/0.2355, allocations: 357.5 kB / 441.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.2355, allocations: 4 kB / 441.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.488e-05/0.2356, allocations: 16 kB / 441.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.2356, allocations: 8 kB / 441.4 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000491/0.2361, allocations: 245.9 kB / 441.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002106/0.2382, allocations: 1.261 MB / 442.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003898/0.2386, allocations: 189.1 kB / 443.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.2387, allocations: 81.67 kB / 443.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00076/0.2395, allocations: 0.5808 MB / 443.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.2395, allocations: 42.55 kB / 443.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.303e-06/0.2395, allocations: 0 / 443.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005408/0.2401, allocations: 221.4 kB / 444 MB, free: 11.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.2401, allocations: 85.05 kB / 444.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.2404, allocations: 284.2 kB / 444.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.2404, allocations: 37.7 kB / 444.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.2406, allocations: 244.1 kB / 444.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.614e-05/0.2407, allocations: 63.44 kB / 444.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.2408, allocations: 65.97 kB / 444.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.2409, allocations: 334.8 kB / 445.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.2411, allocations: 68.61 kB / 445.1 MB, free: 9.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.2413, allocations: 206.3 kB / 445.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004188/0.2417, allocations: 296.8 kB / 445.6 MB, free: 9.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.2417, allocations: 4 kB / 445.6 MB, free: 9.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005421/0.2423, allocations: 316.7 kB / 445.9 MB, free: 8.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.2423, allocations: 8 kB / 445.9 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.2423, allocations: 4 kB / 445.9 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.2423, allocations: 11.98 kB / 446 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002848/0.2426, allocations: 84.39 kB / 446 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.2426, allocations: 15.94 kB / 446.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.2428, allocations: 31.78 kB / 446.1 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.2428, allocations: 16 kB / 446.1 MB, free: 8.758 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000156/0.243, allocations: 157.8 kB / 446.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.95e-05/0.2431, allocations: 27.81 kB / 446.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.753e-05/0.2431, allocations: 29.78 kB / 446.3 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.2431, allocations: 3.938 kB / 446.3 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2431, allocations: 0 / 446.3 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.2431, allocations: 8 kB / 446.3 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006993/0.2438, allocations: 486.2 kB / 446.8 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.2438, allocations: 4 kB / 446.8 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.2441, allocations: 47.84 kB / 446.9 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.2441, allocations: 4 kB / 446.9 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.2441, allocations: 4 kB / 446.9 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.2441, allocations: 4.031 kB / 446.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2441, allocations: 4.312 kB / 446.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005425/0.2446, allocations: 425.3 kB / 447.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.582e-05/0.2447, allocations: 39.7 kB / 447.3 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/0.2447, allocations: 16.06 kB / 447.3 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.2449, allocations: 11.98 kB / 447.3 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.245, allocations: 11.98 kB / 447.4 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.245, allocations: 7.984 kB / 447.4 MB, free: 7.414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002122/0.2452, allocations: 203.1 kB / 447.6 MB, free: 7.219 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2452, allocations: 0 / 447.6 MB, free: 7.219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004199/0.2456, allocations: 75.89 kB / 447.6 MB, free: 7.145 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00015/0.2458, allocations: 115.2 kB / 447.8 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004016/0.2462, allocations: 180.4 kB / 447.9 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2462, allocations: 0 / 447.9 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.2463, allocations: 63.91 kB / 448 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.2467, allocations: 36.84 kB / 448 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.2479, allocations: 0.6963 MB / 448.7 MB, free: 6.008 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.2483, allocations: 0.7714 MB / 449.5 MB, free: 5.211 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.674e-05/0.2483, allocations: 31.42 kB / 449.5 MB, free: 5.18 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2483, allocations: 0 / 449.5 MB, free: 5.18 MB / 350.1 MB Notification: Performance of Templates: time 0.006058/0.2544, allocations: 3.519 MB / 453 MB, free: 1.664 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.802879634778947]