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.0009279/0.0009279, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.000927/0.000927, allocations: 165.1 kB / 24.91 MB, free: 8.715 MB / 18.57 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 0.9608/0.9608, allocations: 177 MB / 205.2 MB, free: 5.059 MB / 186.7 MB " [Timeout remaining time 179] 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.2588/0.2588, allocations: 34.86 MB / 296.6 MB, free: 476 kB / 266.7 MB " [Timeout remaining time 180] 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 1.413e-06/1.413e-06, allocations: 0 / 325.9 MB, free: 7.215 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.62e-05, allocations: 5.406 kB / 325.9 MB, free: 7.211 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003073/0.003099, allocations: 1.939 MB / 327.8 MB, free: 5.258 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.004151, allocations: 0.5811 MB / 328.4 MB, free: 4.672 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.843e-05/0.00422, allocations: 4 kB / 328.4 MB, free: 4.668 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.168e-05/0.004271, allocations: 11.86 kB / 328.4 MB, free: 4.656 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.004496, allocations: 43.69 kB / 328.5 MB, free: 4.613 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.004787, allocations: 75.77 kB / 328.5 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.004986, allocations: 164 kB / 328.7 MB, free: 4.379 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.005102, allocations: 25.94 kB / 328.7 MB, free: 4.355 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002689/0.005371, allocations: 107.7 kB / 328.8 MB, free: 4.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.005475, allocations: 55.86 kB / 328.9 MB, free: 4.195 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.676e-05/0.005502, allocations: 12 kB / 328.9 MB, free: 4.184 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.2e-05/0.005554, allocations: 23.88 kB / 328.9 MB, free: 4.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.26e-05/0.005587, allocations: 23.91 kB / 328.9 MB, free: 4.137 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.086e-05/0.005637, allocations: 43.91 kB / 329 MB, free: 4.094 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.005826, allocations: 107.6 kB / 329.1 MB, free: 3.988 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.005829, allocations: 0 / 329.1 MB, free: 3.988 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.005829, allocations: 0 / 329.1 MB, free: 3.988 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.065e-06/0.005833, allocations: 4 kB / 329.1 MB, free: 3.984 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.0005693/0.006402, allocations: 341.8 kB / 329.4 MB, free: 3.629 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.006445, allocations: 12.03 kB / 329.4 MB, free: 3.617 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002365/0.006681, allocations: 36.91 kB / 329.5 MB, free: 3.582 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.006811, allocations: 125.6 kB / 329.6 MB, free: 3.434 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.006825, allocations: 4.375 kB / 329.6 MB, free: 3.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.006859, allocations: 16.31 kB / 329.6 MB, free: 3.414 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.007103, allocations: 179.3 kB / 329.8 MB, free: 3.211 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.007114, allocations: 192 / 329.8 MB, free: 3.211 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.007127, allocations: 384 / 329.8 MB, free: 3.211 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.007136, allocations: 7.938 kB / 329.8 MB, free: 3.203 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.48e-05/0.007201, allocations: 29.45 kB / 329.8 MB, free: 3.176 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005563/0.007757, allocations: 280 kB / 330.1 MB, free: 2.883 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.89e-05/0.007846, allocations: 30.56 kB / 330.1 MB, free: 2.844 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.727e-05/0.007873, allocations: 16.88 kB / 330.1 MB, free: 2.824 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.007891, allocations: 4 kB / 330.2 MB, free: 2.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.007919, allocations: 34.56 kB / 330.2 MB, free: 2.777 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.00792, allocations: 0 / 330.2 MB, free: 2.777 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004949/0.008415, allocations: 121.4 kB / 330.3 MB, free: 2.652 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.008479, allocations: 106.8 kB / 330.4 MB, free: 2.523 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.008597, allocations: 149 kB / 330.6 MB, free: 2.367 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.008615, allocations: 25.7 kB / 330.6 MB, free: 2.336 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/0.008677, allocations: 108.2 kB / 330.7 MB, free: 2.223 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.008698, allocations: 23.78 kB / 330.7 MB, free: 2.199 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-05/0.008752, allocations: 29.69 kB / 330.7 MB, free: 2.164 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.008854, allocations: 322.8 kB / 331.1 MB, free: 1.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.274e-05/0.008887, allocations: 11.98 kB / 331.1 MB, free: 1.828 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.271e-05/0.00897, allocations: 91.69 kB / 331.2 MB, free: 1.711 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.608e-05/0.009046, allocations: 50.48 kB / 331.2 MB, free: 1.652 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.009047, allocations: 4.031 kB / 331.2 MB, free: 1.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001299/0.009177, allocations: 65.61 kB / 331.3 MB, free: 1.578 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.009192, allocations: 7.984 kB / 331.3 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.009199, allocations: 4 kB / 331.3 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.009213, allocations: 0 / 331.3 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/0.009581, allocations: 75.86 kB / 331.4 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/0.01063, allocations: 1.284 MB / 332.6 MB, free: 112 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.01074, allocations: 11.98 kB / 332.7 MB, free: 100 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.01075, allocations: 4 kB / 332.7 MB, free: 96 kB / 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 0.0001052/0.01085, allocations: 118 kB / 332.8 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.01089, allocations: 7.984 kB / 332.8 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.011, allocations: 70.38 kB / 332.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.01101, allocations: 7.938 kB / 332.9 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.01101, allocations: 3.938 kB / 332.9 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.01101, allocations: 0 / 332.9 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003487/0.01136, allocations: 238.7 kB / 333.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01136, allocations: 0 / 333.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.949e-05/0.01145, allocations: 27.98 kB / 333.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.01145, allocations: 4 kB / 333.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.01146, allocations: 3.938 kB / 333.1 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.01147, allocations: 4.234 kB / 333.1 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.01147, allocations: 0 / 333.1 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.0116, allocations: 155.5 kB / 333.3 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.495e-05/0.01161, allocations: 7.953 kB / 333.3 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.01163, allocations: 11.92 kB / 333.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.01174, allocations: 8 kB / 333.3 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.01178, allocations: 7.984 kB / 333.3 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.01178, allocations: 8 kB / 333.3 MB, free: 15.37 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.923e-05/0.01182, allocations: 32.81 kB / 333.4 MB, free: 15.33 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01182, allocations: 0 / 333.4 MB, free: 15.33 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002688/0.01209, allocations: 31.94 kB / 333.4 MB, free: 15.3 MB / 314.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 0.0001014/0.01219, allocations: 76.42 kB / 333.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003718/0.01257, allocations: 80.78 kB / 333.5 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.01257, allocations: 128 / 333.5 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.437e-05/0.01261, allocations: 28.78 kB / 333.6 MB, free: 15.1 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.01284, allocations: 17.19 kB / 333.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007735/0.01361, allocations: 292.8 kB / 333.9 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.152e-05/0.01366, allocations: 67.34 kB / 333.9 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.807e-05/0.01372, allocations: 16.47 kB / 334 MB, free: 14.67 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.01386, allocations: 83.27 kB / 334 MB, free: 14.59 MB / 314.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01386, allocations: 0 / 334 MB, free: 14.59 MB / 314.7 MB Notification: Performance of Templates: time 0.004739/0.0186, allocations: 1.901 MB / 335.9 MB, free: 12.73 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.877012654207647]