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.001399/0.001399, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001519/0.001519, allocations: 161.7 kB / 24.27 MB, free: 168 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 1.543/1.543, allocations: 177.1 MB / 204.6 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] 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.4413/0.4413, allocations: 32.79 MB / 293.9 MB, free: 1.18 MB / 266.7 MB " [Timeout remaining time 179] 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.074e-06/2.074e-06, allocations: 0 / 375.2 MB, free: 4.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.729e-05/2.937e-05, allocations: 5.688 kB / 375.2 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.004006/0.004035, allocations: 1.869 MB / 377.1 MB, free: 3.078 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.005362, allocations: 0.5492 MB / 377.7 MB, free: 2.523 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.00547, allocations: 0 / 377.7 MB, free: 2.523 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 6.746e-05/0.005538, allocations: 11.86 kB / 377.7 MB, free: 2.512 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003495/0.005887, allocations: 51.62 kB / 377.7 MB, free: 2.461 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.006231, allocations: 79.77 kB / 377.8 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.006488, allocations: 159.4 kB / 378 MB, free: 2.227 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.006623, allocations: 25.16 kB / 378 MB, free: 2.203 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000336/0.006959, allocations: 103.7 kB / 378.1 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.007085, allocations: 55.86 kB / 378.1 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.749e-05/0.007123, allocations: 12 kB / 378.2 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.449e-05/0.007187, allocations: 16 kB / 378.2 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.765e-05/0.007225, allocations: 35.83 kB / 378.2 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.411e-05/0.007299, allocations: 39.92 kB / 378.2 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002833/0.007582, allocations: 155.5 kB / 378.4 MB, free: 1.793 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.007587, allocations: 3.984 kB / 378.4 MB, free: 1.789 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.007589, allocations: 0 / 378.4 MB, free: 1.789 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.007594, allocations: 0 / 378.4 MB, free: 1.789 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.0009299/0.008524, allocations: 377.7 kB / 378.8 MB, free: 1.391 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.008562, allocations: 8.031 kB / 378.8 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003757/0.008938, allocations: 44.86 kB / 378.8 MB, free: 1.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.009148, allocations: 133.6 kB / 378.9 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.00917, allocations: 12.38 kB / 379 MB, free: 1.172 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.762e-05/0.009208, allocations: 4.375 kB / 379 MB, free: 1.168 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000432/0.00964, allocations: 198.3 kB / 379.2 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.009655, allocations: 192 / 379.2 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.009675, allocations: 4.359 kB / 379.2 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.009682, allocations: 3.938 kB / 379.2 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003677/0.01005, allocations: 99.86 kB / 379.3 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.01126, allocations: 367.4 kB / 379.6 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000379/0.01164, allocations: 94.45 kB / 379.7 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.01181, allocations: 40.92 kB / 379.8 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.01183, allocations: 4 kB / 379.8 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.01187, allocations: 30.56 kB / 379.8 MB, free: 264 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.01187, allocations: 0 / 379.8 MB, free: 264 kB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.001612/0.01348, allocations: 317.3 kB / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.625e-05/0.01357, allocations: 106.8 kB / 380.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.01375, allocations: 149.4 kB / 380.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.01378, allocations: 25.7 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.01389, allocations: 120.2 kB / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.01392, allocations: 23.78 kB / 380.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.31e-05/0.01399, allocations: 29.7 kB / 380.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.01418, allocations: 322.8 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/0.01444, allocations: 63.89 kB / 380.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003322/0.01477, allocations: 147.6 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004847/0.01526, allocations: 134.5 kB / 381.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.01526, allocations: 0 / 381.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006121/0.01587, allocations: 185.5 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.01589, allocations: 4 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.01589, allocations: 0 / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.449e-05/0.01592, allocations: 0 / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000646/0.01657, allocations: 87.97 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001808/0.01837, allocations: 1.377 MB / 382.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.01862, allocations: 28.16 kB / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.01863, allocations: 0 / 382.9 MB, free: 12.96 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 0.0001328/0.01877, allocations: 125.8 kB / 383 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.871e-05/0.01882, allocations: 12.17 kB / 383 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005705/0.01939, allocations: 166.4 kB / 383.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.01939, allocations: 3.984 kB / 383.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.0194, allocations: 7.984 kB / 383.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.0194, allocations: 3.938 kB / 383.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008689/0.02027, allocations: 394.1 kB / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.02027, allocations: 0 / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.02046, allocations: 27.97 kB / 383.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.02046, allocations: 0 / 383.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.02048, allocations: 0 / 383.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.02048, allocations: 0 / 383.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.02048, allocations: 4 kB / 383.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006354/0.02111, allocations: 255.3 kB / 383.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.791e-05/0.02114, allocations: 11.95 kB / 383.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.02116, allocations: 0 / 383.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.02142, allocations: 23.97 kB / 383.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.522e-05/0.02149, allocations: 11.98 kB / 383.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.0215, allocations: 0 / 383.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001142/0.02161, allocations: 117.8 kB / 384 MB, free: 11.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02161, allocations: 0 / 384 MB, free: 11.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003067/0.02192, allocations: 32 kB / 384 MB, free: 11.72 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 0.0001368/0.02206, allocations: 91.25 kB / 384.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000972/0.02303, allocations: 171.8 kB / 384.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.02303, allocations: 128 / 384.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000272/0.0233, allocations: 67.94 kB / 384.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.02372, allocations: 19.92 kB / 384.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.02537, allocations: 379.9 kB / 384.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.02548, allocations: 84.08 kB / 384.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.22e-05/0.02556, allocations: 16.48 kB / 384.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.001e-05/0.02563, allocations: 12.5 kB / 384.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of SimCode: time 9.61e-07/0.02563, allocations: 0 / 384.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of Templates: time 0.00607/0.0317, allocations: 1.873 MB / 386.7 MB, free: 8.969 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.918965746997856]