Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.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.001526/0.001526, allocations: 105.1 kB / 21.22 MB, free: 0.6797 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.001505/0.001505, allocations: 209.9 kB / 24.54 MB, free: 4.055 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 230.3 MB / 258 MB, free: 8.258 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2431/0.2431, allocations: 46.89 MB / 361.3 MB, free: 4.539 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo)
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor")
translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 83.86 kB / 0.497 GB, free: 7.621 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3838, allocations: 66.02 MB / 0.5615 GB, free: 4.648 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003312/0.3871, allocations: 1.933 MB / 0.5634 GB, free: 2.703 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001185/0.3883, allocations: 0.6048 MB / 0.564 GB, free: 2.094 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.362e-05/0.3884, allocations: 3.938 kB / 0.564 GB, free: 2.09 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 6.105e-05/0.3884, allocations: 15.86 kB / 0.564 GB, free: 2.074 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.3886, allocations: 43.69 kB / 0.5641 GB, free: 2.031 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.389, allocations: 79.83 kB / 0.5641 GB, free: 1.953 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002254/0.3892, allocations: 147.4 kB / 0.5643 GB, free: 1.809 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.3893, allocations: 36.09 kB / 0.5643 GB, free: 1.773 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002248/0.3895, allocations: 63.78 kB / 0.5644 GB, free: 1.711 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.3897, allocations: 75.67 kB / 0.5644 GB, free: 1.637 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.3897, allocations: 16 kB / 0.5645 GB, free: 1.621 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 6.101e-05/0.3898, allocations: 16 kB / 0.5645 GB, free: 1.605 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 4.012e-05/0.3898, allocations: 31.91 kB / 0.5645 GB, free: 1.574 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.263e-05/0.3899, allocations: 51.73 kB / 0.5645 GB, free: 1.523 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.3901, allocations: 155.1 kB / 0.5647 GB, free: 1.375 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3901, allocations: 0 / 0.5647 GB, free: 1.375 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.252e-06/0.3901, allocations: 0 / 0.5647 GB, free: 1.375 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.262e-06/0.3901, allocations: 0 / 0.5647 GB, free: 1.375 MB / 398.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 17
 * Number of variables: 17
Notification: Performance of Generate backend data structure: time 0.0008355/0.3909, allocations: 377.7 kB / 0.5651 GB, free: 0.9766 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.391, allocations: 12.03 kB / 0.5651 GB, free: 0.9648 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003049/0.3913, allocations: 40.81 kB / 0.5651 GB, free: 0.9258 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.3915, allocations: 132.6 kB / 0.5652 GB, free: 0.7734 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.3915, allocations: 4.375 kB / 0.5652 GB, free: 0.7695 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.3915, allocations: 8.375 kB / 0.5652 GB, free: 0.7617 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003534/0.3919, allocations: 136.5 kB / 0.5654 GB, free: 0.6133 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.3919, allocations: 4 kB / 0.5654 GB, free: 0.6094 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.3919, allocations: 8 kB / 0.5654 GB, free: 0.6016 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3919, allocations: 0 / 0.5654 GB, free: 0.6016 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00034/0.3922, allocations: 91.92 kB / 0.5655 GB, free: 0.5117 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009054/0.3932, allocations: 434.4 kB / 0.5659 GB, free: 36 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003372/0.3935, allocations: 86.52 kB / 0.566 GB, free: 15.94 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.3936, allocations: 44.92 kB / 0.566 GB, free: 15.89 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.3937, allocations: 0 / 0.566 GB, free: 15.89 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.3937, allocations: 34.5 kB / 0.566 GB, free: 15.85 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.3937, allocations: 0 / 0.566 GB, free: 15.85 MB / 414.1 MB
Notification: Performance of matching and sorting (n=6): time 0.001478/0.3952, allocations: 313.2 kB / 0.5663 GB, free: 15.54 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.562e-05/0.3953, allocations: 110.7 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.3954, allocations: 164.2 kB / 0.5666 GB, free: 15.24 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.3955, allocations: 33.64 kB / 0.5666 GB, free: 15.2 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.709e-05/0.3955, allocations: 108.2 kB / 0.5667 GB, free: 15.09 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.3956, allocations: 19.86 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.575e-05/0.3956, allocations: 29.7 kB / 0.5668 GB, free: 15.03 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001417/0.3958, allocations: 322.8 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.396, allocations: 55.95 kB / 0.5672 GB, free: 14.65 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.3963, allocations: 96.23 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004612/0.3968, allocations: 134.5 kB / 0.5674 GB, free: 14.4 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3968, allocations: 0 / 0.5674 GB, free: 14.4 MB / 414.1 MB
Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005651/0.3973, allocations: 177.5 kB / 0.5675 GB, free: 14.22 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.3974, allocations: 15.92 kB / 0.5676 GB, free: 14.21 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.3974, allocations: 4 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.3974, allocations: 0 / 0.5676 GB, free: 14.2 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005953/0.398, allocations: 87.91 kB / 0.5676 GB, free: 14.12 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/0.3996, allocations: 1.393 MB / 0.569 GB, free: 12.61 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.3998, allocations: 28 kB / 0.569 GB, free: 12.58 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.3998, allocations: 4 kB / 0.569 GB, free: 12.57 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 3
 * 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 (9):
 * Single equations (assignments): 8
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 1
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 0 systems
 * Non-linear Jacobian (size): 1 system
   {1}
 * Without analytic Jacobian (size): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.3999, allocations: 123 kB / 0.5692 GB, free: 12.45 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.699e-05/0.4, allocations: 16.02 kB / 0.5692 GB, free: 12.43 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005201/0.4005, allocations: 162.3 kB / 0.5693 GB, free: 12.27 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4005, allocations: 4 kB / 0.5693 GB, free: 12.26 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.4005, allocations: 0 / 0.5693 GB, free: 12.26 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.4005, allocations: 8.219 kB / 0.5693 GB, free: 12.25 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008764/0.4014, allocations: 425.4 kB / 0.5697 GB, free: 11.79 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.4014, allocations: 0 / 0.5697 GB, free: 11.79 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.4016, allocations: 35.95 kB / 0.5698 GB, free: 11.75 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.4016, allocations: 0 / 0.5698 GB, free: 11.75 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.4016, allocations: 4 kB / 0.5698 GB, free: 11.75 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.4016, allocations: 3.938 kB / 0.5698 GB, free: 11.75 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4016, allocations: 3.938 kB / 0.5698 GB, free: 11.74 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000548/0.4021, allocations: 255.6 kB / 0.57 GB, free: 11.48 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.175e-05/0.4022, allocations: 11.89 kB / 0.57 GB, free: 11.46 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.4022, allocations: 0 / 0.57 GB, free: 11.46 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.4024, allocations: 35.91 kB / 0.5701 GB, free: 11.43 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/0.4024, allocations: 7.984 kB / 0.5701 GB, free: 11.42 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.4024, allocations: 0 / 0.5701 GB, free: 11.42 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001175/0.4026, allocations: 115.4 kB / 0.5702 GB, free: 11.31 MB / 414.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.4026, allocations: 0 / 0.5702 GB, free: 11.31 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002711/0.4028, allocations: 27.94 kB / 0.5702 GB, free: 11.28 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * 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 simulation (7):
 * Single equations (assignments): 7
 * 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.0001167/0.403, allocations: 95.25 kB / 0.5703 GB, free: 11.18 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0009602/0.4039, allocations: 179.8 kB / 0.5705 GB, free: 11 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4039, allocations: 0 / 0.5705 GB, free: 11 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000239/0.4042, allocations: 68 kB / 0.5705 GB, free: 10.93 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.4045, allocations: 18.58 kB / 0.5706 GB, free: 10.92 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.4059, allocations: 379.1 kB / 0.5709 GB, free: 10.52 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.4062, allocations: 0.7008 MB / 0.5716 GB, free: 9.793 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 7.575e-05/0.4063, allocations: 16.42 kB / 0.5716 GB, free: 9.777 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.545e-05/0.4063, allocations: 11.44 kB / 0.5716 GB, free: 9.766 MB / 414.1 MB
Notification: Performance of SimCode: time 3.11e-07/0.4063, allocations: 0 / 0.5716 GB, free: 9.766 MB / 414.1 MB
Notification: Performance of Templates: time 0.005679/0.412, allocations: 1.767 MB / 0.5734 GB, free: 8.004 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.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: 5.385025643743575]