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.001197/0.001197, allocations: 80.25 kB / 22.21 MB, free: 2.281 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.001838/0.001838, allocations: 163.8 kB / 25.61 MB, free: 8.887 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 1.062/1.062, allocations: 177 MB / 205.9 MB, free: 4.461 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.1636/0.1636, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.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.313e-06/1.313e-06, allocations: 0 / 380 MB, free: 22.78 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.215e-05, allocations: 5.797 kB / 380 MB, free: 22.78 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.002029/0.002051, allocations: 1.942 MB / 381.9 MB, free: 20.83 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006897/0.002741, allocations: 0.5648 MB / 382.5 MB, free: 20.26 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.096e-05/0.002812, allocations: 0 / 382.5 MB, free: 20.26 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 4.388e-05/0.002855, allocations: 19.84 kB / 382.5 MB, free: 20.24 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001671/0.003023, allocations: 43.64 kB / 382.6 MB, free: 20.2 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.003212, allocations: 75.77 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000136/0.003348, allocations: 163.3 kB / 382.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.693e-05/0.003445, allocations: 21.3 kB / 382.8 MB, free: 19.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.003614, allocations: 103.7 kB / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.64e-05/0.003691, allocations: 59.8 kB / 383 MB, free: 19.79 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.003711, allocations: 12 kB / 383 MB, free: 19.77 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.014e-05/0.003751, allocations: 16 kB / 383 MB, free: 19.76 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.057e-05/0.003772, allocations: 31.89 kB / 383 MB, free: 19.73 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.127e-05/0.003803, allocations: 39.91 kB / 383.1 MB, free: 19.69 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.003936, allocations: 111.6 kB / 383.2 MB, free: 19.58 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.003938, allocations: 3.938 kB / 383.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.003939, allocations: 0 / 383.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.003944, allocations: 0 / 383.2 MB, free: 19.57 MB / 314.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.0003959/0.00434, allocations: 468 kB / 383.6 MB, free: 19.08 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.004371, allocations: 8.031 kB / 383.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.004528, allocations: 44.86 kB / 383.7 MB, free: 19.03 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.242e-05/0.00461, allocations: 132.4 kB / 383.8 MB, free: 18.88 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.004622, allocations: 12.38 kB / 383.8 MB, free: 18.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.004644, allocations: 8.375 kB / 383.8 MB, free: 18.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.004798, allocations: 177.3 kB / 384 MB, free: 18.65 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.004807, allocations: 192 / 384 MB, free: 18.65 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.004817, allocations: 4.375 kB / 384 MB, free: 18.64 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.004823, allocations: 3.938 kB / 384 MB, free: 18.64 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.069e-05/0.004863, allocations: 23.97 kB / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.005262, allocations: 395.1 kB / 384.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.524e-05/0.005338, allocations: 51.02 kB / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.099e-05/0.005359, allocations: 15.69 kB / 384.5 MB, free: 18.12 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.005374, allocations: 0 / 384.5 MB, free: 18.12 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.005391, allocations: 41.33 kB / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.005392, allocations: 0 / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004046/0.005797, allocations: 125.5 kB / 384.7 MB, free: 17.94 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.005823, allocations: 106.8 kB / 384.8 MB, free: 17.81 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.45e-05/0.005898, allocations: 195.2 kB / 384.9 MB, free: 17.6 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.005908, allocations: 33.7 kB / 385 MB, free: 17.56 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.005954, allocations: 162.9 kB / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.27e-05/0.005967, allocations: 27.77 kB / 385.2 MB, free: 17.37 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.006005, allocations: 31.36 kB / 385.2 MB, free: 17.33 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.841e-05/0.006054, allocations: 0.4961 MB / 385.7 MB, free: 16.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.443e-05/0.006078, allocations: 7.984 kB / 385.7 MB, free: 16.81 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.833e-05/0.006127, allocations: 113.8 kB / 385.8 MB, free: 16.67 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.414e-05/0.006181, allocations: 50.98 kB / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.006182, allocations: 0 / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.833e-05/0.00628, allocations: 93.58 kB / 386 MB, free: 16.51 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.006291, allocations: 4 kB / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.006295, allocations: 0 / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.006304, allocations: 7.938 kB / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.006576, allocations: 75.92 kB / 386 MB, free: 16.42 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006119/0.007187, allocations: 1.863 MB / 387.9 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.71e-05/0.007265, allocations: 15.98 kB / 387.9 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.007273, allocations: 4 kB / 387.9 MB, free: 14.42 MB / 314.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 5.065e-05/0.007324, allocations: 168.7 kB / 388.1 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.007348, allocations: 7.953 kB / 388.1 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.945e-05/0.007428, allocations: 82.31 kB / 388.2 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.007429, allocations: 4 kB / 388.2 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.00743, allocations: 4.266 kB / 388.2 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.007433, allocations: 0 / 388.2 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.007655, allocations: 314.1 kB / 388.5 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.007657, allocations: 7.984 kB / 388.5 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.787e-05/0.007715, allocations: 27.92 kB / 388.5 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.007718, allocations: 3.938 kB / 388.5 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.007723, allocations: 4 kB / 388.5 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.007725, allocations: 4 kB / 388.5 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.007726, allocations: 0 / 388.5 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.166e-05/0.007807, allocations: 207.9 kB / 388.7 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.778e-06/0.007817, allocations: 11.94 kB / 388.8 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.007832, allocations: 7.938 kB / 388.8 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-05/0.007903, allocations: 15.98 kB / 388.8 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.007936, allocations: 0 / 388.8 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.007942, allocations: 7.984 kB / 388.8 MB, free: 13.49 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.375e-05/0.007976, allocations: 152.8 kB / 388.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007976, allocations: 0 / 388.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001725/0.008148, allocations: 28 kB / 389 MB, free: 13.32 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 6.412e-05/0.008212, allocations: 99.19 kB / 389.1 MB, free: 13.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002902/0.008503, allocations: 79.92 kB / 389.1 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.008504, allocations: 4 kB / 389.1 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.064e-05/0.008535, allocations: 31.88 kB / 389.2 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.008739, allocations: 28.12 kB / 389.2 MB, free: 13.06 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005383/0.009278, allocations: 311.2 kB / 389.5 MB, free: 12.72 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.173e-05/0.009299, allocations: 63.34 kB / 389.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.515e-05/0.009345, allocations: 16.47 kB / 389.6 MB, free: 12.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.664e-05/0.009441, allocations: 98.17 kB / 389.7 MB, free: 12.53 MB / 314.7 MB Notification: Performance of SimCode: time 1.002e-06/0.009442, allocations: 0 / 389.7 MB, free: 12.53 MB / 314.7 MB Notification: Performance of Templates: time 0.00327/0.01271, allocations: 2.07 MB / 391.7 MB, free: 10.49 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: 3.387977576814592]