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.001826/0.001826, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.001981/0.001981, allocations: 165.3 kB / 24.27 MB, free: 152 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.531/1.531, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.3527/0.3527, allocations: 32.8 MB / 293.9 MB, free: 1.18 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 1.302e-06/1.302e-06, allocations: 0 / 375.2 MB, free: 5.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.595e-05, allocations: 5.547 kB / 375.2 MB, free: 5.016 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003342/0.003368, allocations: 1.9 MB / 377.1 MB, free: 3.098 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.004479, allocations: 0.5765 MB / 377.7 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.285e-05/0.004542, allocations: 4 kB / 377.7 MB, free: 2.512 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.809e-05/0.00459, allocations: 11.86 kB / 377.7 MB, free: 2.5 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.004795, allocations: 47.62 kB / 377.8 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.005061, allocations: 83.75 kB / 377.9 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.005268, allocations: 155.4 kB / 378 MB, free: 2.219 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.005387, allocations: 29.14 kB / 378 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002539/0.005641, allocations: 107.7 kB / 378.1 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.005754, allocations: 47.88 kB / 378.2 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.005787, allocations: 12 kB / 378.2 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.82e-05/0.005845, allocations: 16 kB / 378.2 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.189e-05/0.005887, allocations: 31.84 kB / 378.3 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.817e-05/0.005955, allocations: 47.91 kB / 378.3 MB, free: 1.934 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.006198, allocations: 151.5 kB / 378.4 MB, free: 1.785 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.006201, allocations: 4 kB / 378.5 MB, free: 1.781 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.006201, allocations: 0 / 378.5 MB, free: 1.781 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.006205, allocations: 0 / 378.5 MB, free: 1.781 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.0008123/0.007017, allocations: 471.6 kB / 378.9 MB, free: 1.285 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.007054, allocations: 8.031 kB / 378.9 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002968/0.007351, allocations: 44.88 kB / 379 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.007526, allocations: 138.4 kB / 379.1 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.00754, allocations: 4.375 kB / 379.1 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.007571, allocations: 12.38 kB / 379.1 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003442/0.007915, allocations: 184.7 kB / 379.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.007927, allocations: 192 / 379.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.007943, allocations: 8.312 kB / 379.3 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.007953, allocations: 11.94 kB / 379.3 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002694/0.008222, allocations: 75.89 kB / 379.4 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008464/0.009069, allocations: 438.6 kB / 379.8 MB, free: 288 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/0.009342, allocations: 83.02 kB / 379.9 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.009457, allocations: 39.77 kB / 379.9 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.009475, allocations: 0 / 379.9 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.009507, allocations: 37.39 kB / 380 MB, free: 100 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.009508, allocations: 0 / 380 MB, free: 100 kB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.001117/0.01063, allocations: 253.2 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.986e-05/0.01071, allocations: 106.8 kB / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004227/0.01113, allocations: 220.4 kB / 380.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.01115, allocations: 29.64 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.01127, allocations: 166.9 kB / 380.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.0113, allocations: 23.8 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.874e-05/0.01137, allocations: 31.36 kB / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002569/0.01163, allocations: 0.4962 MB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.01179, allocations: 47.97 kB / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.01204, allocations: 145.8 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003431/0.01238, allocations: 118.9 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.01238, allocations: 4 kB / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004056/0.01279, allocations: 149.6 kB / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.0128, allocations: 4 kB / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.0128, allocations: 4 kB / 381.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.01282, allocations: 0 / 381.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000569/0.01339, allocations: 79.97 kB / 381.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001916/0.0153, allocations: 1.94 MB / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.01547, allocations: 15.98 kB / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.01548, allocations: 160 / 383.8 MB, free: 12.04 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.0001392/0.01562, allocations: 172.6 kB / 383.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.406e-05/0.01566, allocations: 11.89 kB / 384 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004119/0.01607, allocations: 142.5 kB / 384.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.01608, allocations: 0 / 384.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.61e-07/0.01608, allocations: 0 / 384.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.01608, allocations: 0 / 384.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007284/0.01681, allocations: 429.3 kB / 384.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01681, allocations: 3.938 kB / 384.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.01694, allocations: 19.98 kB / 384.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.01695, allocations: 0 / 384.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.01696, allocations: 288 / 384.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.01696, allocations: 4 kB / 384.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01696, allocations: 64 / 384.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004537/0.01742, allocations: 287.7 kB / 384.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.255e-05/0.01744, allocations: 11.89 kB / 384.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.01746, allocations: 4 kB / 384.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.01763, allocations: 15.98 kB / 384.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.01767, allocations: 7.984 kB / 384.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.01768, allocations: 0 / 384.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001242/0.0178, allocations: 159.2 kB / 385 MB, free: 10.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0178, allocations: 4 kB / 385 MB, free: 10.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002655/0.01807, allocations: 28 kB / 385.1 MB, free: 10.68 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.0001133/0.01818, allocations: 95.25 kB / 385.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007915/0.01898, allocations: 159.5 kB / 385.3 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01898, allocations: 4.125 kB / 385.3 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.01916, allocations: 55.61 kB / 385.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.01943, allocations: 26.12 kB / 385.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.02053, allocations: 313.7 kB / 385.7 MB, free: 9.996 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.021e-05/0.02062, allocations: 84.31 kB / 385.8 MB, free: 9.895 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.296e-05/0.02069, allocations: 16.48 kB / 385.8 MB, free: 9.879 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.169e-05/0.02076, allocations: 16.5 kB / 385.8 MB, free: 9.859 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.02076, allocations: 0 / 385.8 MB, free: 9.859 MB / 362.7 MB Notification: Performance of Templates: time 0.005692/0.02645, allocations: 1.871 MB / 387.7 MB, free: 8 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","/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: 5.314700233982876]