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.001772/0.001772, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.002006/0.002006, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.429/1.429, allocations: 225.6 MB / 250.8 MB, free: 13.4 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.00151/0.00151, allocations: 55.91 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2396, allocations: 52.14 MB / 420.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004802/0.2444, allocations: 3.323 MB / 424.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002199/0.2466, allocations: 1.308 MB / 425.5 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.2467, allocations: 8 kB / 425.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004234/0.2471, allocations: 147 kB / 425.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.2482, allocations: 465.5 kB / 426.1 MB, free: 9.863 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003683/0.2485, allocations: 166.5 kB / 426.3 MB, free: 9.703 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005872/0.2491, allocations: 462 kB / 426.7 MB, free: 9.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.2493, allocations: 104.2 kB / 426.8 MB, free: 9.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.2495, allocations: 167.4 kB / 427 MB, free: 8.988 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002734/0.2498, allocations: 203.1 kB / 427.2 MB, free: 8.789 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.25e-05/0.2499, allocations: 32 kB / 427.2 MB, free: 8.758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002871/0.2502, allocations: 155.9 kB / 427.4 MB, free: 8.605 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.103e-05/0.2502, allocations: 87.67 kB / 427.4 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.2504, allocations: 191 kB / 427.6 MB, free: 8.332 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007095/0.2511, allocations: 0.5421 MB / 428.2 MB, free: 7.793 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.227e-06/0.2511, allocations: 0 / 428.2 MB, free: 7.793 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2511, allocations: 0 / 428.2 MB, free: 7.793 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.2511, allocations: 0 / 428.2 MB, free: 7.793 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.001456/0.2526, allocations: 0.7558 MB / 428.9 MB, free: 6.984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.2526, allocations: 12.03 kB / 428.9 MB, free: 6.973 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006028/0.2532, allocations: 92.66 kB / 429 MB, free: 6.883 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004669/0.2537, allocations: 308.6 kB / 429.3 MB, free: 6.543 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.2537, allocations: 29.38 kB / 429.4 MB, free: 6.516 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.735e-05/0.2538, allocations: 32.38 kB / 429.4 MB, free: 6.484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006514/0.2544, allocations: 361.6 kB / 429.7 MB, free: 6.113 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.2545, allocations: 0 / 429.7 MB, free: 6.113 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.113e-05/0.2545, allocations: 16 kB / 429.8 MB, free: 6.098 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.2545, allocations: 8 kB / 429.8 MB, free: 6.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005194/0.255, allocations: 246.1 kB / 430 MB, free: 5.852 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002198/0.2572, allocations: 1.312 MB / 431.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/0.2576, allocations: 189.1 kB / 431.5 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.2578, allocations: 77.67 kB / 431.6 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009416/0.2588, allocations: 0.8792 MB / 432.5 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.2588, allocations: 34.5 kB / 432.5 MB, free: 3.125 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.2588, allocations: 0 / 432.5 MB, free: 3.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005857/0.2594, allocations: 221.4 kB / 432.7 MB, free: 2.902 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.2594, allocations: 88.98 kB / 432.8 MB, free: 2.797 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003388/0.2598, allocations: 279.1 kB / 433.1 MB, free: 2.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/0.2598, allocations: 37.7 kB / 433.1 MB, free: 2.477 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.26, allocations: 236 kB / 433.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.041e-05/0.2601, allocations: 75.41 kB / 433.4 MB, free: 2.168 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.2602, allocations: 61.98 kB / 433.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.2603, allocations: 334.8 kB / 433.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.2605, allocations: 68.61 kB / 433.9 MB, free: 1.695 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.2608, allocations: 194.5 kB / 434.1 MB, free: 1.445 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004418/0.2612, allocations: 288.8 kB / 434.3 MB, free: 1.102 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.2612, allocations: 4 kB / 434.3 MB, free: 1.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005655/0.2618, allocations: 317 kB / 434.7 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.2618, allocations: 8 kB / 434.7 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2618, allocations: 4 kB / 434.7 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.2618, allocations: 8 kB / 434.7 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/0.2621, allocations: 84.39 kB / 434.8 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.112e-05/0.2622, allocations: 15.94 kB / 434.8 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.2624, allocations: 35.73 kB / 434.8 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.2624, allocations: 19.98 kB / 434.8 MB, free: 0.6094 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.0001638/0.2625, allocations: 153.7 kB / 435 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.747e-05/0.2626, allocations: 27.81 kB / 435 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.529e-05/0.2627, allocations: 33.73 kB / 435 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2627, allocations: 3.938 kB / 435 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.2627, allocations: 0 / 435 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.2627, allocations: 8 kB / 435 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007746/0.2635, allocations: 0.4992 MB / 435.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.2635, allocations: 0 / 435.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/0.2637, allocations: 51.84 kB / 435.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2637, allocations: 0 / 435.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.2637, allocations: 8.312 kB / 435.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/0.2637, allocations: 12.02 kB / 435.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2637, allocations: 3.938 kB / 435.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005815/0.2643, allocations: 411.4 kB / 436 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.429e-05/0.2644, allocations: 112.8 kB / 436.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/0.2645, allocations: 4.062 kB / 436.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.2647, allocations: 15.98 kB / 436.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/0.2647, allocations: 15.92 kB / 436.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.2647, allocations: 8 kB / 436.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000209/0.2649, allocations: 194 kB / 436.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2649, allocations: 0 / 436.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004271/0.2654, allocations: 83.84 kB / 436.4 MB, free: 14.88 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.0001807/0.2656, allocations: 127.1 kB / 436.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004176/0.266, allocations: 180.4 kB / 436.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.266, allocations: 0 / 436.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.2661, allocations: 67.91 kB / 436.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.2665, allocations: 33.47 kB / 436.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.2677, allocations: 0.6572 MB / 437.5 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.2681, allocations: 0.779 MB / 438.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001287/0.2683, allocations: 38.89 kB / 438.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.992e-05/0.2683, allocations: 23.44 kB / 438.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2683, allocations: 0 / 438.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of Templates: time 0.006501/0.2748, allocations: 2.496 MB / 440.8 MB, free: 10.45 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins/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: 4.444130621850491]