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.001708/0.001708, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001703/0.001703, allocations: 165 kB / 24.56 MB, free: 12 kB / 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 0.9413/0.9413, allocations: 177.1 MB / 205 MB, free: 5.609 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.2352/0.2352, allocations: 32.81 MB / 294.3 MB, free: 1.203 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 2.134e-06/2.134e-06, allocations: 3.984 kB / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.368e-05/1.581e-05, allocations: 5.547 kB / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.002329/0.002344, allocations: 1.935 MB / 377.9 MB, free: 2.684 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007869/0.003131, allocations: 0.5841 MB / 378.5 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.852e-05/0.00319, allocations: 7.938 kB / 378.5 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.724e-05/0.003237, allocations: 11.86 kB / 378.6 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.003419, allocations: 39.64 kB / 378.6 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.003658, allocations: 87.75 kB / 378.7 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.003796, allocations: 151.4 kB / 378.8 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.0039, allocations: 25.28 kB / 378.8 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.004095, allocations: 107.7 kB / 379 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.126e-05/0.004177, allocations: 55.86 kB / 379 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.0042, allocations: 12 kB / 379 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.437e-05/0.004244, allocations: 19.94 kB / 379 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/0.004267, allocations: 27.86 kB / 379.1 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.951e-05/0.004306, allocations: 47.89 kB / 379.1 MB, free: 1.512 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.004456, allocations: 99.7 kB / 379.2 MB, free: 1.414 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.004458, allocations: 0 / 379.2 MB, free: 1.414 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004459, allocations: 0 / 379.2 MB, free: 1.414 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.004463, allocations: 0 / 379.2 MB, free: 1.414 MB / 346.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.0005121/0.004975, allocations: 468.1 kB / 379.7 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.00501, allocations: 12.03 kB / 379.7 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.005177, allocations: 32.88 kB / 379.7 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.005313, allocations: 148.3 kB / 379.9 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.00533, allocations: 4.375 kB / 379.9 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.005358, allocations: 16.38 kB / 379.9 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.005601, allocations: 179.5 kB / 380.1 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.005615, allocations: 192 / 380.1 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.00563, allocations: 4.375 kB / 380.1 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.005641, allocations: 7.938 kB / 380.1 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.916e-05/0.005711, allocations: 31.91 kB / 380.1 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006066/0.006317, allocations: 402.7 kB / 380.5 MB, free: 0 / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.00644, allocations: 54.97 kB / 380.5 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.276e-05/0.006472, allocations: 19.62 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.006488, allocations: 0 / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.006524, allocations: 45.47 kB / 380.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.006525, allocations: 0 / 380.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005384/0.007063, allocations: 141.3 kB / 380.7 MB, free: 15.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.007111, allocations: 102.8 kB / 380.8 MB, free: 15.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.007236, allocations: 208.4 kB / 381 MB, free: 15.37 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.007255, allocations: 33.69 kB / 381.1 MB, free: 15.33 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.705e-05/0.007332, allocations: 162.9 kB / 381.2 MB, free: 15.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.007348, allocations: 19.8 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-05/0.007392, allocations: 31.36 kB / 381.3 MB, free: 15.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.007531, allocations: 0.4923 MB / 381.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.884e-05/0.00757, allocations: 12 kB / 381.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.487e-05/0.007645, allocations: 121.8 kB / 381.9 MB, free: 14.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.544e-05/0.00772, allocations: 51.06 kB / 382 MB, free: 14.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.007722, allocations: 0 / 382 MB, free: 14.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001207/0.007843, allocations: 89.59 kB / 382 MB, free: 14.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.007854, allocations: 12 kB / 382.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.007859, allocations: 0 / 382.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.007872, allocations: 0 / 382.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.008151, allocations: 79.92 kB / 382.1 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009075/0.009058, allocations: 1.89 MB / 384 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.397e-05/0.009132, allocations: 11.98 kB / 384 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.009142, allocations: 4 kB / 384 MB, free: 12.16 MB / 362.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 8.245e-05/0.009224, allocations: 164.5 kB / 384.2 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.009252, allocations: 15.88 kB / 384.2 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003758/0.009628, allocations: 94.58 kB / 384.3 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.009629, allocations: 0 / 384.3 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.72e-07/0.009629, allocations: 0 / 384.3 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.009633, allocations: 4 kB / 384.3 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002633/0.009896, allocations: 353.4 kB / 384.7 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.009898, allocations: 0 / 384.7 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.809e-05/0.009956, allocations: 23.98 kB / 384.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.009958, allocations: 0 / 384.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.009966, allocations: 0 / 384.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.009968, allocations: 3.938 kB / 384.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.009969, allocations: 8 kB / 384.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.01009, allocations: 227.7 kB / 384.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.343e-05/0.0101, allocations: 15.84 kB / 384.9 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.01011, allocations: 0 / 384.9 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.753e-05/0.01018, allocations: 15.98 kB / 385 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.01022, allocations: 7.984 kB / 385 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.01022, allocations: 0 / 385 MB, free: 11.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.749e-05/0.01028, allocations: 151.2 kB / 385.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01028, allocations: 0 / 385.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001731/0.01045, allocations: 32 kB / 385.1 MB, free: 10.99 MB / 362.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 6.149e-05/0.01052, allocations: 95.25 kB / 385.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002951/0.01081, allocations: 91.55 kB / 385.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01081, allocations: 0 / 385.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.582e-05/0.01085, allocations: 23.67 kB / 385.3 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.01104, allocations: 24.06 kB / 385.4 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005756/0.01161, allocations: 301.6 kB / 385.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.528e-05/0.01165, allocations: 67.33 kB / 385.7 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.288e-05/0.01169, allocations: 12.48 kB / 385.7 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.332e-05/0.01173, allocations: 20.48 kB / 385.8 MB, free: 10.3 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01173, allocations: 0 / 385.8 MB, free: 10.3 MB / 362.7 MB Notification: Performance of Templates: time 0.003753/0.01549, allocations: 1.988 MB / 387.7 MB, free: 8.32 MB / 362.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 -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.9051419659517705]