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.0009777/0.0009777, allocations: 88.86 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.001373/0.001373, allocations: 160.6 kB / 24.91 MB, free: 8.727 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.9774/0.9774, allocations: 177 MB / 205.2 MB, free: 5.477 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.2763/0.2763, allocations: 34.87 MB / 296.6 MB, free: 0.5 MB / 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 2.044e-06/2.044e-06, allocations: 3.938 kB / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.348e-05, allocations: 4.219 kB / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.002822/0.002845, allocations: 1.98 MB / 327.9 MB, free: 5.164 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009618/0.003807, allocations: 0.5851 MB / 328.5 MB, free: 4.574 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.748e-05/0.003875, allocations: 0 / 328.5 MB, free: 4.574 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.779e-05/0.003922, allocations: 11.86 kB / 328.5 MB, free: 4.562 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.004116, allocations: 43.64 kB / 328.5 MB, free: 4.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.004323, allocations: 87.75 kB / 328.6 MB, free: 4.434 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.00447, allocations: 155.4 kB / 328.8 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.00458, allocations: 29.94 kB / 328.8 MB, free: 4.254 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.004792, allocations: 99.72 kB / 328.9 MB, free: 4.156 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.83e-05/0.00488, allocations: 59.8 kB / 329 MB, free: 4.098 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.004905, allocations: 12 kB / 329 MB, free: 4.086 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.02e-05/0.004965, allocations: 19.94 kB / 329 MB, free: 4.066 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.566e-05/0.00499, allocations: 27.91 kB / 329 MB, free: 4.039 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.85e-05/0.005029, allocations: 44.66 kB / 329.1 MB, free: 3.996 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.005193, allocations: 111.6 kB / 329.2 MB, free: 3.887 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.005195, allocations: 4 kB / 329.2 MB, free: 3.883 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.005196, allocations: 0 / 329.2 MB, free: 3.883 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.005199, allocations: 0 / 329.2 MB, free: 3.883 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.0004513/0.005651, allocations: 333.8 kB / 329.5 MB, free: 3.535 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.005684, allocations: 8.031 kB / 329.5 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.005858, allocations: 40.91 kB / 329.6 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.006154, allocations: 137.5 kB / 329.7 MB, free: 3.328 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.006166, allocations: 384 / 329.7 MB, free: 3.328 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.006194, allocations: 12.38 kB / 329.7 MB, free: 3.316 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.006394, allocations: 166.3 kB / 329.9 MB, free: 3.125 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.006405, allocations: 4.172 kB / 329.9 MB, free: 3.121 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.006419, allocations: 8.375 kB / 329.9 MB, free: 3.113 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.006426, allocations: 3.938 kB / 329.9 MB, free: 3.109 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.792e-05/0.006474, allocations: 29.39 kB / 329.9 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.006904, allocations: 271.3 kB / 330.2 MB, free: 2.797 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.816e-05/0.006972, allocations: 42.48 kB / 330.2 MB, free: 2.746 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.978e-05/0.006991, allocations: 12.86 kB / 330.2 MB, free: 2.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.007004, allocations: 0 / 330.2 MB, free: 2.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.007027, allocations: 30.56 kB / 330.3 MB, free: 2.691 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.007028, allocations: 0 / 330.3 MB, free: 2.691 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004005/0.007428, allocations: 121.5 kB / 330.4 MB, free: 2.566 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.007474, allocations: 110.8 kB / 330.5 MB, free: 2.434 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.171e-05/0.007566, allocations: 143.8 kB / 330.6 MB, free: 2.281 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.00758, allocations: 25.7 kB / 330.7 MB, free: 2.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.00763, allocations: 112.2 kB / 330.8 MB, free: 2.133 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.007645, allocations: 23.78 kB / 330.8 MB, free: 2.109 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.007684, allocations: 21.7 kB / 330.8 MB, free: 2.082 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.738e-05/0.007761, allocations: 326.8 kB / 331.1 MB, free: 1.754 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.122e-05/0.007782, allocations: 8 kB / 331.1 MB, free: 1.746 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.968e-05/0.007842, allocations: 103.6 kB / 331.2 MB, free: 1.617 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.563e-05/0.007898, allocations: 46.58 kB / 331.3 MB, free: 1.562 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.007899, allocations: 0 / 331.3 MB, free: 1.562 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.936e-05/0.007988, allocations: 69.59 kB / 331.4 MB, free: 1.488 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.008002, allocations: 11.94 kB / 331.4 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.008007, allocations: 3.938 kB / 331.4 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.008021, allocations: 0 / 331.4 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/0.008302, allocations: 83.98 kB / 331.4 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007603/0.009062, allocations: 1.273 MB / 332.7 MB, free: 20 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.049e-05/0.009133, allocations: 19.98 kB / 332.7 MB, free: 0 / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.009143, allocations: 8.203 kB / 332.7 MB, free: 15.99 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 7.19e-05/0.009215, allocations: 117.8 kB / 332.9 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.009238, allocations: 8 kB / 332.9 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.009e-05/0.009318, allocations: 70.42 kB / 332.9 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.009321, allocations: 3.938 kB / 332.9 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.52e-07/0.009322, allocations: 0 / 332.9 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.009325, allocations: 0 / 332.9 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005466/0.009872, allocations: 246.8 kB / 333.2 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.009874, allocations: 0 / 333.2 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.306e-05/0.009937, allocations: 27.97 kB / 333.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.009939, allocations: 0 / 333.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.009948, allocations: 7.938 kB / 333.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.009949, allocations: 0 / 333.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.00995, allocations: 0 / 333.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.073e-05/0.01004, allocations: 155.5 kB / 333.4 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.889e-06/0.01005, allocations: 7.953 kB / 333.4 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.01006, allocations: 3.938 kB / 333.4 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-05/0.01013, allocations: 15.98 kB / 333.4 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.01017, allocations: 11.98 kB / 333.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.01017, allocations: 0 / 333.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.721e-05/0.0102, allocations: 35.75 kB / 333.4 MB, free: 15.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0102, allocations: 0 / 333.4 MB, free: 15.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001446/0.01035, allocations: 28 kB / 333.5 MB, free: 15.21 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 7.637e-05/0.01042, allocations: 80.41 kB / 333.6 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002543/0.01068, allocations: 76.86 kB / 333.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.01068, allocations: 8 kB / 333.6 MB, free: 15.03 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.707e-05/0.01071, allocations: 20.84 kB / 333.7 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.01085, allocations: 12.48 kB / 333.7 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005414/0.01139, allocations: 313.4 kB / 334 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.537e-05/0.01142, allocations: 63.34 kB / 334 MB, free: 14.58 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.283e-05/0.01147, allocations: 8.438 kB / 334 MB, free: 14.58 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.962e-05/0.01157, allocations: 79.34 kB / 334.1 MB, free: 14.5 MB / 314.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01157, allocations: 0 / 334.1 MB, free: 14.5 MB / 314.7 MB Notification: Performance of Templates: time 0.003292/0.01486, allocations: 1.915 MB / 336 MB, free: 12.62 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 -s gbode -gbm=radauIIA3 -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.8968491698615253]