Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001642/0.001642, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002082/0.002082, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.412/1.412, allocations: 230.6 MB / 258.3 MB, free: 8.047 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-beta.om/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 64.77 kB / 379 MB, free: 2.656 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2673, allocations: 53.37 MB / 432.4 MB, free: 6.973 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004631/0.2719, allocations: 3.348 MB / 435.8 MB, free: 3.617 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002307/0.2742, allocations: 1.425 MB / 437.2 MB, free: 2.184 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001681/0.2744, allocations: 15.94 kB / 437.2 MB, free: 2.168 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004288/0.2748, allocations: 143.1 kB / 437.3 MB, free: 2.027 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0009638/0.2758, allocations: 433.7 kB / 437.8 MB, free: 1.602 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.2762, allocations: 187.4 kB / 437.9 MB, free: 1.418 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005817/0.2768, allocations: 458.1 kB / 438.4 MB, free: 0.9688 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/0.277, allocations: 116.7 kB / 438.5 MB, free: 0.8516 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002097/0.2772, allocations: 179.3 kB / 438.7 MB, free: 0.6758 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000271/0.2775, allocations: 199.2 kB / 438.9 MB, free: 492 kB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.049e-05/0.2775, allocations: 35.94 kB / 438.9 MB, free: 456 kB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002935/0.2778, allocations: 171.9 kB / 439.1 MB, free: 284 kB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.816e-05/0.2779, allocations: 83.64 kB / 439.2 MB, free: 200 kB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.2781, allocations: 203.1 kB / 439.4 MB, free: 15.99 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0007192/0.2788, allocations: 0.5436 MB / 439.9 MB, free: 15.45 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.2788, allocations: 8 kB / 439.9 MB, free: 15.45 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.522e-06/0.2788, allocations: 0 / 439.9 MB, free: 15.45 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 8.416e-06/0.2788, allocations: 0 / 439.9 MB, free: 15.45 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.001398/0.2802, allocations: 0.6767 MB / 440.6 MB, free: 14.74 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.2802, allocations: 12.03 kB / 440.6 MB, free: 14.73 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007177/0.281, allocations: 112.6 kB / 440.7 MB, free: 14.62 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000457/0.2814, allocations: 259.7 kB / 441 MB, free: 14.34 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.2814, allocations: 29.38 kB / 441 MB, free: 14.3 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.597e-05/0.2815, allocations: 36.38 kB / 441 MB, free: 14.27 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006039/0.2821, allocations: 361.5 kB / 441.4 MB, free: 13.91 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.2821, allocations: 0 / 441.4 MB, free: 13.91 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.2821, allocations: 12 kB / 441.4 MB, free: 13.9 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.2822, allocations: 8 kB / 441.4 MB, free: 13.89 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005157/0.2827, allocations: 249.9 kB / 441.6 MB, free: 13.65 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002016/0.2847, allocations: 1.261 MB / 442.9 MB, free: 12.29 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004309/0.2851, allocations: 189.1 kB / 443.1 MB, free: 12.09 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.2853, allocations: 77.67 kB / 443.2 MB, free: 12 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0008638/0.2862, allocations: 0.5886 MB / 443.7 MB, free: 11.39 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.2862, allocations: 30.56 kB / 443.8 MB, free: 11.36 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=17): time 1.683e-06/0.2862, allocations: 0 / 443.8 MB, free: 11.36 MB / 350.1 MB
Notification: Performance of matching and sorting (n=17): time 0.0006517/0.2869, allocations: 225.5 kB / 444 MB, free: 11.13 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.622e-05/0.2869, allocations: 85.05 kB / 444.1 MB, free: 11.03 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003359/0.2873, allocations: 284.2 kB / 444.4 MB, free: 10.74 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.2873, allocations: 29.7 kB / 444.4 MB, free: 10.71 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.2875, allocations: 248.1 kB / 444.6 MB, free: 10.46 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.519e-05/0.2876, allocations: 63.44 kB / 444.7 MB, free: 10.39 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.2877, allocations: 65.97 kB / 444.8 MB, free: 10.32 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001664/0.2878, allocations: 338.8 kB / 445.1 MB, free: 9.98 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.288, allocations: 64.62 kB / 445.1 MB, free: 9.918 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/0.2883, allocations: 214.3 kB / 445.4 MB, free: 9.648 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004569/0.2887, allocations: 288 kB / 445.6 MB, free: 9.309 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.2888, allocations: 7.938 kB / 445.6 MB, free: 9.301 MB / 350.1 MB
Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005466/0.2893, allocations: 317.5 kB / 446 MB, free: 8.984 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.2893, allocations: 8 kB / 446 MB, free: 8.977 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.2893, allocations: 4 kB / 446 MB, free: 8.973 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.2893, allocations: 8 kB / 446 MB, free: 8.965 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000279/0.2896, allocations: 79.78 kB / 446.1 MB, free: 8.887 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/0.2896, allocations: 15.92 kB / 446.1 MB, free: 8.871 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.2898, allocations: 35.78 kB / 446.1 MB, free: 8.836 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.2899, allocations: 12 kB / 446.1 MB, free: 8.824 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.0001731/0.29, allocations: 153.8 kB / 446.3 MB, free: 8.664 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.054e-05/0.2901, allocations: 35.8 kB / 446.3 MB, free: 8.629 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.172e-05/0.2902, allocations: 25.78 kB / 446.3 MB, free: 8.602 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.2902, allocations: 7.938 kB / 446.3 MB, free: 8.594 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2902, allocations: 0 / 446.3 MB, free: 8.594 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.2902, allocations: 0 / 446.3 MB, free: 8.594 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007266/0.2909, allocations: 490.4 kB / 446.8 MB, free: 8.062 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.2909, allocations: 8.094 kB / 446.8 MB, free: 8.055 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.2911, allocations: 55.84 kB / 446.9 MB, free: 8 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2911, allocations: 0 / 446.9 MB, free: 8 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.2911, allocations: 4 kB / 446.9 MB, free: 7.996 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2911, allocations: 0 / 446.9 MB, free: 7.996 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2911, allocations: 0 / 446.9 MB, free: 7.996 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005557/0.2917, allocations: 427.3 kB / 447.3 MB, free: 7.559 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.174e-05/0.2917, allocations: 39.7 kB / 447.3 MB, free: 7.52 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/0.2918, allocations: 8 kB / 447.3 MB, free: 7.512 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.292, allocations: 15.98 kB / 447.4 MB, free: 7.496 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.292, allocations: 7.984 kB / 447.4 MB, free: 7.488 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.292, allocations: 8.062 kB / 447.4 MB, free: 7.48 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0002016/0.2922, allocations: 207.1 kB / 447.6 MB, free: 7.281 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.2922, allocations: 0 / 447.6 MB, free: 7.281 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0004091/0.2927, allocations: 75.89 kB / 447.7 MB, free: 7.207 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.0001549/0.2928, allocations: 111.2 kB / 447.8 MB, free: 7.086 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003911/0.2932, allocations: 182.1 kB / 447.9 MB, free: 6.91 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2932, allocations: 0 / 447.9 MB, free: 6.91 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.2933, allocations: 65.03 kB / 448 MB, free: 6.848 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.2937, allocations: 41.2 kB / 448 MB, free: 6.809 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.2949, allocations: 0.659 MB / 448.7 MB, free: 6.113 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.2953, allocations: 0.7714 MB / 449.5 MB, free: 5.316 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001173/0.2954, allocations: 34.97 kB / 449.5 MB, free: 5.285 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.288e-05/0.2955, allocations: 27.42 kB / 449.5 MB, free: 5.258 MB / 350.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.2955, allocations: 3.938 kB / 449.5 MB, free: 5.254 MB / 350.1 MB
Notification: Performance of Templates: time 0.00675/0.3022, allocations: 2.588 MB / 452.1 MB, free: 2.719 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.396009875461459]