Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0014/0.0014, allocations: 104.5 kB / 21.18 MB, free: 0.707 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.001774/0.001774, allocations: 185.2 kB / 24.47 MB, free: 4.074 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 53.64 kB / 347.7 MB, free: 9.648 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2632, allocations: 49.16 MB / 396.8 MB, free: 9.496 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004431/0.2676, allocations: 3.263 MB / 400.1 MB, free: 7.199 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002236/0.2699, allocations: 1.364 MB / 401.4 MB, free: 6.23 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002556/0.2701, allocations: 7.375 kB / 401.4 MB, free: 6.23 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004499/0.2706, allocations: 140.8 kB / 401.6 MB, free: 6.16 MB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000959/0.2715, allocations: 369.9 kB / 401.9 MB, free: 5.926 MB / 318.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000554/0.2721, allocations: 258.9 kB / 402.2 MB, free: 5.773 MB / 318.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0006565/0.2727, allocations: 455.6 kB / 402.6 MB, free: 5.551 MB / 318.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001961/0.2729, allocations: 115.7 kB / 402.8 MB, free: 5.488 MB / 318.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.2731, allocations: 173.6 kB / 402.9 MB, free: 5.402 MB / 318.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002883/0.2734, allocations: 198.6 kB / 403.1 MB, free: 5.305 MB / 318.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.717e-05/0.2735, allocations: 34.66 kB / 403.2 MB, free: 5.305 MB / 318.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003808/0.2739, allocations: 158.4 kB / 403.3 MB, free: 5.262 MB / 318.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.604e-05/0.2739, allocations: 86.3 kB / 403.4 MB, free: 5.203 MB / 318.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.2741, allocations: 195.5 kB / 403.6 MB, free: 5.082 MB / 318.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.00066/0.2747, allocations: 0.5388 MB / 404.1 MB, free: 4.852 MB / 318.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2747, allocations: 0 / 404.1 MB, free: 4.852 MB / 318.1 MB
Notification: Performance of FrontEnd: time 1.914e-06/0.2747, allocations: 0 / 404.1 MB, free: 4.852 MB / 318.1 MB
Notification: Performance of Transformations before backend: time 7.203e-06/0.2748, allocations: 1.188 kB / 404.1 MB, free: 4.852 MB / 318.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.001353/0.2761, allocations: 0.6669 MB / 404.8 MB, free: 4.375 MB / 318.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.2761, allocations: 16.67 kB / 404.8 MB, free: 4.367 MB / 318.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006085/0.2768, allocations: 104.5 kB / 404.9 MB, free: 4.332 MB / 318.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004944/0.2772, allocations: 257.2 kB / 405.2 MB, free: 4.117 MB / 318.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.2773, allocations: 26.78 kB / 405.2 MB, free: 4.105 MB / 318.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.945e-05/0.2773, allocations: 35.31 kB / 405.2 MB, free: 4.094 MB / 318.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006366/0.278, allocations: 359.7 kB / 405.6 MB, free: 3.918 MB / 318.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.278, allocations: 0 / 405.6 MB, free: 3.918 MB / 318.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.32e-05/0.278, allocations: 15.16 kB / 405.6 MB, free: 3.906 MB / 318.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.278, allocations: 8.969 kB / 405.6 MB, free: 3.906 MB / 318.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004735/0.2785, allocations: 248 kB / 405.8 MB, free: 3.824 MB / 318.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.2804, allocations: 1.254 MB / 407.1 MB, free: 2.941 MB / 318.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003825/0.2808, allocations: 189.4 kB / 407.3 MB, free: 2.84 MB / 318.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.281, allocations: 80.05 kB / 407.4 MB, free: 2.801 MB / 318.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0006104/0.2816, allocations: 0.5513 MB / 407.9 MB, free: 2.332 MB / 318.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.2816, allocations: 32.41 kB / 407.9 MB, free: 2.293 MB / 318.1 MB
Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.2816, allocations: 0 / 407.9 MB, free: 2.293 MB / 318.1 MB
Notification: Performance of matching and sorting (n=17): time 0.0005661/0.2822, allocations: 225.2 kB / 408.2 MB, free: 2.191 MB / 318.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.2822, allocations: 82.58 kB / 408.2 MB, free: 2.094 MB / 318.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/0.2825, allocations: 285.5 kB / 408.5 MB, free: 1.926 MB / 318.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.2825, allocations: 36.25 kB / 408.6 MB, free: 1.887 MB / 318.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.2826, allocations: 234.9 kB / 408.8 MB, free: 1.691 MB / 318.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.2826, allocations: 62.59 kB / 408.8 MB, free: 1.645 MB / 318.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.47e-05/0.2827, allocations: 66.42 kB / 408.9 MB, free: 1.598 MB / 318.1 MB
Notification: Performance of setup shared object (initialization): time 7.186e-05/0.2828, allocations: 338.1 kB / 409.2 MB, free: 1.273 MB / 318.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.2829, allocations: 66.17 kB / 409.3 MB, free: 1.254 MB / 318.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.2831, allocations: 197.9 kB / 409.5 MB, free: 1.062 MB / 318.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003451/0.2835, allocations: 295.5 kB / 409.8 MB, free: 0.8125 MB / 318.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.2835, allocations: 1.375 kB / 409.8 MB, free: 0.8125 MB / 318.1 MB
Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004831/0.284, allocations: 325.4 kB / 410.1 MB, free: 0.6602 MB / 318.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.284, allocations: 7.344 kB / 410.1 MB, free: 0.6602 MB / 318.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.284, allocations: 4.844 kB / 410.1 MB, free: 0.6602 MB / 318.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.284, allocations: 7.094 kB / 410.1 MB, free: 0.6602 MB / 318.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003017/0.2843, allocations: 84.39 kB / 410.2 MB, free: 0.6484 MB / 318.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/0.2843, allocations: 15.78 kB / 410.2 MB, free: 0.6406 MB / 318.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.2845, allocations: 38.55 kB / 410.3 MB, free: 0.6172 MB / 318.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.2846, allocations: 16.5 kB / 410.3 MB, free: 0.6133 MB / 318.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.0001335/0.2847, allocations: 151.7 kB / 410.4 MB, free: 484 kB / 318.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-05/0.2848, allocations: 24.98 kB / 410.4 MB, free: 472 kB / 318.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.54e-05/0.2848, allocations: 29.64 kB / 410.5 MB, free: 456 kB / 318.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2848, allocations: 5.156 kB / 410.5 MB, free: 452 kB / 318.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.2848, allocations: 1.312 kB / 410.5 MB, free: 452 kB / 318.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.2848, allocations: 5.562 kB / 410.5 MB, free: 448 kB / 318.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006906/0.2855, allocations: 494.4 kB / 411 MB, free: 72 kB / 318.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2855, allocations: 1.406 kB / 411 MB, free: 72 kB / 318.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.2857, allocations: 48.2 kB / 411 MB, free: 64 kB / 318.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.2857, allocations: 1.375 kB / 411 MB, free: 64 kB / 318.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.2858, allocations: 3.625 kB / 411 MB, free: 64 kB / 318.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.2858, allocations: 10.06 kB / 411 MB, free: 56 kB / 318.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2858, allocations: 0 / 411 MB, free: 56 kB / 318.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006354/0.2864, allocations: 417.9 kB / 411.4 MB, free: 15.76 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.188e-05/0.2865, allocations: 38.77 kB / 411.5 MB, free: 15.73 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.2865, allocations: 6.031 kB / 411.5 MB, free: 15.73 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.2867, allocations: 16.38 kB / 411.5 MB, free: 15.72 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.2868, allocations: 9.828 kB / 411.5 MB, free: 15.72 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.2868, allocations: 6.266 kB / 411.5 MB, free: 15.72 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0002439/0.287, allocations: 198.4 kB / 411.7 MB, free: 15.61 MB / 334.1 MB
Notification: Performance of sort global known variables: time 8.1e-08/0.287, allocations: 1 kB / 411.7 MB, free: 15.61 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0004732/0.2875, allocations: 86.58 kB / 411.8 MB, free: 15.58 MB / 334.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.000187/0.2877, allocations: 115.5 kB / 411.9 MB, free: 15.48 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004642/0.2881, allocations: 185.4 kB / 412.1 MB, free: 15.41 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2881, allocations: 1.875 kB / 412.1 MB, free: 15.41 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.2883, allocations: 65.91 kB / 412.2 MB, free: 15.39 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.2887, allocations: 34.94 kB / 412.2 MB, free: 15.38 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.2899, allocations: 0.6637 MB / 412.9 MB, free: 14.93 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/0.2904, allocations: 0.7723 MB / 413.6 MB, free: 14.22 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 0.0001393/0.2905, allocations: 36.77 kB / 413.7 MB, free: 14.21 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.294e-05/0.2906, allocations: 26.05 kB / 413.7 MB, free: 14.2 MB / 334.1 MB
Notification: Performance of SimCode: time 4.8e-07/0.2906, allocations: 0 / 413.7 MB, free: 14.2 MB / 334.1 MB
Notification: Performance of Templates: time 0.00697/0.2976, allocations: 2.55 MB / 416.2 MB, free: 12.92 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.467798982746899]