Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 187.5 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 47.86 kB / 371.6 MB, free: 9.215 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2509, allocations: 52.18 MB / 423.8 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004706/0.2556, allocations: 3.05 MB / 426.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.2577, allocations: 1.207 MB / 428.1 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.2578, allocations: 11.94 kB / 428.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004152/0.2583, allocations: 147.1 kB / 428.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.2593, allocations: 441.5 kB / 428.7 MB, free: 9.652 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003655/0.2596, allocations: 163.6 kB / 428.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006219/0.2603, allocations: 446.1 kB / 429.2 MB, free: 9.055 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002031/0.2605, allocations: 100.7 kB / 429.3 MB, free: 8.957 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.2607, allocations: 167.4 kB / 429.5 MB, free: 8.793 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000277/0.2609, allocations: 187.1 kB / 429.7 MB, free: 8.609 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.603e-05/0.261, allocations: 32 kB / 429.7 MB, free: 8.578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000298/0.2613, allocations: 147.9 kB / 429.9 MB, free: 8.434 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.773e-05/0.2614, allocations: 87.62 kB / 430 MB, free: 8.348 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.2616, allocations: 163.2 kB / 430.1 MB, free: 8.188 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008055/0.2624, allocations: 0.5289 MB / 430.6 MB, free: 7.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2624, allocations: 0 / 430.6 MB, free: 7.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2624, allocations: 0 / 430.6 MB, free: 7.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.2624, allocations: 0 / 430.6 MB, free: 7.66 MB / 334.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.001438/0.2638, allocations: 0.6844 MB / 431.3 MB, free: 6.945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.2638, allocations: 12.03 kB / 431.3 MB, free: 6.934 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000595/0.2644, allocations: 96.64 kB / 431.4 MB, free: 6.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004661/0.2649, allocations: 246.8 kB / 431.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/0.2649, allocations: 29.38 kB / 431.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.578e-05/0.265, allocations: 36.38 kB / 431.7 MB, free: 6.508 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000661/0.2657, allocations: 408.9 kB / 432.1 MB, free: 6.086 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.2657, allocations: 0 / 432.1 MB, free: 6.086 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.818e-05/0.2657, allocations: 16 kB / 432.2 MB, free: 6.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.2657, allocations: 8 kB / 432.2 MB, free: 6.062 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005077/0.2662, allocations: 241.9 kB / 432.4 MB, free: 5.828 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002021/0.2683, allocations: 1.121 MB / 433.5 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004001/0.2687, allocations: 189.1 kB / 433.7 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.2688, allocations: 81.62 kB / 433.8 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007247/0.2696, allocations: 0.5264 MB / 434.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.2696, allocations: 34.56 kB / 434.3 MB, free: 3.738 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.473e-06/0.2696, allocations: 0 / 434.3 MB, free: 3.738 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005766/0.2702, allocations: 221.4 kB / 434.6 MB, free: 3.516 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/0.2702, allocations: 81.11 kB / 434.6 MB, free: 3.418 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003228/0.2706, allocations: 284.2 kB / 434.9 MB, free: 3.137 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.2706, allocations: 37.64 kB / 435 MB, free: 3.094 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.2708, allocations: 244 kB / 435.2 MB, free: 2.848 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.833e-05/0.2708, allocations: 79.34 kB / 435.3 MB, free: 2.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.36e-05/0.2709, allocations: 58.03 kB / 435.3 MB, free: 2.703 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.2711, allocations: 334.8 kB / 435.7 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.2713, allocations: 68.61 kB / 435.7 MB, free: 2.301 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.2715, allocations: 206.3 kB / 435.9 MB, free: 2.039 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000447/0.272, allocations: 288.9 kB / 436.2 MB, free: 1.695 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.272, allocations: 0 / 436.2 MB, free: 1.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005842/0.2726, allocations: 320.9 kB / 436.5 MB, free: 1.379 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.2726, allocations: 8 kB / 436.5 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.2726, allocations: 4 kB / 436.5 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.2726, allocations: 8 kB / 436.5 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/0.2729, allocations: 79.89 kB / 436.6 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.2729, allocations: 16.31 kB / 436.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.2731, allocations: 39.73 kB / 436.7 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.2731, allocations: 19.98 kB / 436.7 MB, free: 1.207 MB / 334.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.0001729/0.2733, allocations: 149.8 kB / 436.8 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.171e-05/0.2734, allocations: 23.86 kB / 436.9 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.669e-05/0.2735, allocations: 29.73 kB / 436.9 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.2735, allocations: 4.25 kB / 436.9 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.2735, allocations: 3.938 kB / 436.9 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2735, allocations: 4 kB / 436.9 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006817/0.2742, allocations: 422.8 kB / 437.3 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.2742, allocations: 4 kB / 437.3 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.2744, allocations: 43.91 kB / 437.4 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.2744, allocations: 4 kB / 437.4 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.2744, allocations: 3.938 kB / 437.4 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.2744, allocations: 3.984 kB / 437.4 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.2744, allocations: 4 kB / 437.4 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006035/0.275, allocations: 427.3 kB / 437.8 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.983e-05/0.2751, allocations: 23.73 kB / 437.8 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.718e-05/0.2751, allocations: 8.203 kB / 437.8 MB, free: 0 / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.2753, allocations: 19.92 kB / 437.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/0.2754, allocations: 11.97 kB / 437.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.2754, allocations: 4 kB / 437.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002077/0.2756, allocations: 199.1 kB / 438.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2756, allocations: 0 / 438.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004417/0.276, allocations: 83.84 kB / 438.1 MB, free: 15.69 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.0001594/0.2762, allocations: 111.3 kB / 438.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000421/0.2766, allocations: 180.2 kB / 438.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2766, allocations: 0 / 438.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.2768, allocations: 71.84 kB / 438.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.2772, allocations: 24.97 kB / 438.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.2784, allocations: 0.6927 MB / 439.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.2786, allocations: 176.6 kB / 439.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.754e-05/0.2787, allocations: 27.44 kB / 439.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2787, allocations: 0 / 439.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of Templates: time 0.006176/0.2849, allocations: 3.568 MB / 443 MB, free: 10.79 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.0009446842595935]