Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 80.8 kB / 21.5 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 168.8 kB / 24.91 MB, free: 9.156 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.034/1.034, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2618/0.2618, allocations: 32.8 MB / 294.6 MB, free: 1.254 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 323.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.958e-06/1.113e-05, allocations: 3.516 kB / 323.3 MB, free: 9.688 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.002086/0.002098, allocations: 1.979 MB / 325.2 MB, free: 7.695 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007473/0.002845, allocations: 0.5841 MB / 325.8 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.949e-05/0.002894, allocations: 4 kB / 325.8 MB, free: 7.102 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.416e-05/0.002929, allocations: 11.86 kB / 325.8 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.003074, allocations: 43.64 kB / 325.9 MB, free: 7.047 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.003236, allocations: 75.81 kB / 325.9 MB, free: 6.973 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.003357, allocations: 164 kB / 326.1 MB, free: 6.812 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.164e-05/0.003429, allocations: 25.89 kB / 326.1 MB, free: 6.789 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.003589, allocations: 103.8 kB / 326.2 MB, free: 6.688 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.113e-05/0.00366, allocations: 55.8 kB / 326.3 MB, free: 6.633 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.003679, allocations: 16 kB / 326.3 MB, free: 6.617 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.336e-05/0.003722, allocations: 15.94 kB / 326.3 MB, free: 6.602 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.424e-05/0.003746, allocations: 27.91 kB / 326.3 MB, free: 6.574 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.003781, allocations: 47.84 kB / 326.4 MB, free: 6.527 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.003903, allocations: 107.6 kB / 326.5 MB, free: 6.422 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.003905, allocations: 4 kB / 326.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.003906, allocations: 0 / 326.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.735e-06/0.003909, allocations: 4 kB / 326.5 MB, free: 6.414 MB / 298.7 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.0004486/0.004357, allocations: 333.6 kB / 326.8 MB, free: 6.066 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.004387, allocations: 8.031 kB / 326.8 MB, free: 6.059 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.004539, allocations: 44.91 kB / 326.9 MB, free: 6.016 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.959e-05/0.004629, allocations: 129.6 kB / 327 MB, free: 5.863 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.004638, allocations: 8.375 kB / 327 MB, free: 5.855 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.004659, allocations: 12.31 kB / 327 MB, free: 5.844 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.004823, allocations: 165.8 kB / 327.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.004831, allocations: 192 / 327.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.004839, allocations: 384 / 327.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.004845, allocations: 7.938 kB / 327.2 MB, free: 5.645 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.587e-05/0.004891, allocations: 26.22 kB / 327.2 MB, free: 5.621 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003679/0.005259, allocations: 279.8 kB / 327.5 MB, free: 5.328 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.788e-05/0.005317, allocations: 38.48 kB / 327.5 MB, free: 5.281 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.005334, allocations: 8.859 kB / 327.5 MB, free: 5.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.005348, allocations: 7.984 kB / 327.6 MB, free: 5.262 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.005369, allocations: 34.56 kB / 327.6 MB, free: 5.219 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.00537, allocations: 0 / 327.6 MB, free: 5.219 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003298/0.0057, allocations: 121.5 kB / 327.7 MB, free: 5.094 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.005742, allocations: 102.8 kB / 327.8 MB, free: 4.969 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.367e-05/0.005815, allocations: 149.4 kB / 328 MB, free: 4.812 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.005827, allocations: 29.7 kB / 328 MB, free: 4.777 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.319e-05/0.00587, allocations: 108.2 kB / 328.1 MB, free: 4.664 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/0.005885, allocations: 23.78 kB / 328.1 MB, free: 4.641 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.005922, allocations: 25.7 kB / 328.1 MB, free: 4.609 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002078/0.00613, allocations: 326.8 kB / 328.5 MB, free: 4.281 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.112e-05/0.006151, allocations: 8 kB / 328.5 MB, free: 4.273 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.995e-05/0.006201, allocations: 99.61 kB / 328.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.149e-05/0.006252, allocations: 50.48 kB / 328.6 MB, free: 4.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.006253, allocations: 32 / 328.6 MB, free: 4.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.172e-05/0.006335, allocations: 73.59 kB / 328.7 MB, free: 4.012 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.006345, allocations: 4 kB / 328.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.006349, allocations: 4 kB / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.006358, allocations: 0 / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.00661, allocations: 79.86 kB / 328.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006899/0.0073, allocations: 1.28 MB / 330 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.781e-05/0.007367, allocations: 15.98 kB / 330.1 MB, free: 2.535 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.007374, allocations: 0 / 330.1 MB, free: 2.535 MB / 298.7 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 6.027e-05/0.007434, allocations: 122 kB / 330.2 MB, free: 2.406 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.007454, allocations: 4 kB / 330.2 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.485e-05/0.007529, allocations: 78.36 kB / 330.3 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.007531, allocations: 3.938 kB / 330.3 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.51e-07/0.007531, allocations: 64 / 330.3 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.007535, allocations: 4 kB / 330.3 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.007756, allocations: 238.6 kB / 330.5 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.007759, allocations: 4.281 kB / 330.5 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.447e-05/0.007813, allocations: 19.97 kB / 330.5 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.007815, allocations: 8 kB / 330.5 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.007822, allocations: 3.938 kB / 330.5 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.007823, allocations: 0 / 330.5 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.007823, allocations: 0 / 330.5 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.384e-05/0.007907, allocations: 159.5 kB / 330.7 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.846e-06/0.007916, allocations: 7.953 kB / 330.7 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.007928, allocations: 3.938 kB / 330.7 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.64e-05/0.007995, allocations: 15.98 kB / 330.7 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.752e-05/0.008022, allocations: 7.984 kB / 330.7 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.008026, allocations: 3.938 kB / 330.7 MB, free: 1.809 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.345e-05/0.00805, allocations: 32.83 kB / 330.8 MB, free: 1.773 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.00805, allocations: 0 / 330.8 MB, free: 1.773 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000138/0.008188, allocations: 28 kB / 330.8 MB, free: 1.746 MB / 298.7 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 5.69e-05/0.008245, allocations: 84.34 kB / 330.9 MB, free: 1.652 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002416/0.008486, allocations: 81.05 kB / 331 MB, free: 1.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.008489, allocations: 0 / 331 MB, free: 1.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.817e-05/0.008517, allocations: 29.11 kB / 331 MB, free: 1.539 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.008652, allocations: 15.39 kB / 331 MB, free: 1.527 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004929/0.009145, allocations: 309.2 kB / 331.3 MB, free: 1.199 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.29e-05/0.009178, allocations: 67.28 kB / 331.4 MB, free: 1.113 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.266e-05/0.009221, allocations: 8.5 kB / 331.4 MB, free: 1.102 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.649e-05/0.009317, allocations: 79.34 kB / 331.4 MB, free: 1.023 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.009318, allocations: 0 / 331.4 MB, free: 1.023 MB / 298.7 MB Notification: Performance of Templates: time 0.003354/0.01267, allocations: 1.911 MB / 333.4 MB, free: 15.15 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7725058388896286]