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.001317/0.001317, allocations: 81.72 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001415/0.001415, allocations: 164.8 kB / 23.96 MB, free: 4.16 MB / 14.72 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.36/1.36, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 179] 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.2029/0.2029, allocations: 32.81 MB / 293.5 MB, free: 48 kB / 270.1 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.182e-06/1.182e-06, allocations: 0 / 440.1 MB, free: 8.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.1e-05/2.218e-05, allocations: 6.219 kB / 440.1 MB, free: 8.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003124/0.003146, allocations: 1.87 MB / 441.9 MB, free: 6.328 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.004291, allocations: 0.5569 MB / 442.5 MB, free: 5.766 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.508e-05/0.004357, allocations: 0 / 442.5 MB, free: 5.766 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.138e-05/0.004408, allocations: 19.86 kB / 442.5 MB, free: 5.746 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.004639, allocations: 43.62 kB / 442.6 MB, free: 5.703 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.004936, allocations: 79.77 kB / 442.6 MB, free: 5.625 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.005144, allocations: 163.2 kB / 442.8 MB, free: 5.465 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.005262, allocations: 21.31 kB / 442.8 MB, free: 5.445 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002578/0.00552, allocations: 99.78 kB / 442.9 MB, free: 5.348 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.00564, allocations: 55.8 kB / 443 MB, free: 5.293 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.199e-05/0.005682, allocations: 16 kB / 443 MB, free: 5.277 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.217e-05/0.005744, allocations: 16 kB / 443 MB, free: 5.262 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.503e-05/0.005789, allocations: 39.83 kB / 443 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.213e-05/0.005852, allocations: 35.92 kB / 443.1 MB, free: 5.188 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.006105, allocations: 155.5 kB / 443.2 MB, free: 5.035 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.006109, allocations: 0 / 443.2 MB, free: 5.035 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.41e-07/0.006109, allocations: 3.938 kB / 443.2 MB, free: 5.031 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.006115, allocations: 0 / 443.2 MB, free: 5.031 MB / 366.1 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.0008607/0.006976, allocations: 373.8 kB / 443.6 MB, free: 4.637 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.007021, allocations: 12.03 kB / 443.6 MB, free: 4.625 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003633/0.007384, allocations: 40.86 kB / 443.6 MB, free: 4.586 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.007568, allocations: 132.4 kB / 443.8 MB, free: 4.434 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.007586, allocations: 12.38 kB / 443.8 MB, free: 4.422 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.007616, allocations: 8.375 kB / 443.8 MB, free: 4.414 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004263/0.008043, allocations: 188.1 kB / 444 MB, free: 4.203 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.008056, allocations: 192 / 444 MB, free: 4.203 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.008074, allocations: 384 / 444 MB, free: 4.203 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.008087, allocations: 11.92 kB / 444 MB, free: 4.191 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003606/0.008448, allocations: 95.92 kB / 444.1 MB, free: 4.098 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008669/0.009314, allocations: 363.3 kB / 444.4 MB, free: 3.703 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003679/0.009682, allocations: 98.52 kB / 444.5 MB, free: 3.598 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.009847, allocations: 44.86 kB / 444.6 MB, free: 3.551 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.009871, allocations: 0 / 444.6 MB, free: 3.551 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.00991, allocations: 34.56 kB / 444.6 MB, free: 3.508 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.009911, allocations: 0 / 444.6 MB, free: 3.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.001508/0.01142, allocations: 317.1 kB / 444.9 MB, free: 3.191 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.843e-05/0.01151, allocations: 102.8 kB / 445 MB, free: 3.066 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.01167, allocations: 156.6 kB / 445.2 MB, free: 2.906 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.0117, allocations: 25.7 kB / 445.2 MB, free: 2.875 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.0118, allocations: 116.2 kB / 445.3 MB, free: 2.754 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.01184, allocations: 27.78 kB / 445.3 MB, free: 2.727 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.259e-05/0.0119, allocations: 33.64 kB / 445.4 MB, free: 2.688 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.01208, allocations: 318.8 kB / 445.7 MB, free: 2.367 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/0.01233, allocations: 55.95 kB / 445.7 MB, free: 2.312 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.01263, allocations: 147.6 kB / 445.9 MB, free: 2.141 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004721/0.0131, allocations: 134.5 kB / 446 MB, free: 2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.0131, allocations: 4.062 kB / 446 MB, free: 1.996 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005483/0.01365, allocations: 173.5 kB / 446.2 MB, free: 1.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.01368, allocations: 8 kB / 446.2 MB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.01368, allocations: 3.984 kB / 446.2 MB, free: 1.809 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.0137, allocations: 0 / 446.2 MB, free: 1.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006101/0.01431, allocations: 91.91 kB / 446.3 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001533/0.01585, allocations: 1.374 MB / 447.7 MB, free: 236 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.01606, allocations: 32.06 kB / 447.7 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.01608, allocations: 4 kB / 447.7 MB, free: 200 kB / 366.1 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.000122/0.0162, allocations: 117.5 kB / 447.8 MB, free: 76 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.01625, allocations: 15.89 kB / 447.8 MB, free: 60 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1606/0.1768, allocations: 161.2 kB / 448 MB, free: 21.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1768, allocations: 1.156 kB / 448 MB, free: 21.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.1768, allocations: 1.734 kB / 448 MB, free: 21.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1768, allocations: 3.797 kB / 448 MB, free: 21.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007919/0.1776, allocations: 391.9 kB / 448.4 MB, free: 21.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.1776, allocations: 0.75 kB / 448.4 MB, free: 21.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.1778, allocations: 26.2 kB / 448.4 MB, free: 21.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1778, allocations: 1.156 kB / 448.4 MB, free: 21.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.1778, allocations: 4.594 kB / 448.4 MB, free: 21.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.1778, allocations: 1.094 kB / 448.4 MB, free: 21.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1778, allocations: 0 / 448.4 MB, free: 21.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004753/0.1783, allocations: 254.8 kB / 448.7 MB, free: 21.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.019e-05/0.1783, allocations: 13.86 kB / 448.7 MB, free: 21.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.1783, allocations: 1.812 kB / 448.7 MB, free: 21.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.1785, allocations: 21.02 kB / 448.7 MB, free: 21.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.319e-05/0.1786, allocations: 10.58 kB / 448.7 MB, free: 21.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.1786, allocations: 8.625 kB / 448.7 MB, free: 21.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.205e-05/0.1787, allocations: 108.8 kB / 448.8 MB, free: 21.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1787, allocations: 1.188 kB / 448.8 MB, free: 21.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002828/0.1789, allocations: 29.12 kB / 448.8 MB, free: 21.04 MB / 366.1 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.721e-05/0.179, allocations: 99.7 kB / 448.9 MB, free: 20.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008671/0.1799, allocations: 171.6 kB / 449.1 MB, free: 20.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1799, allocations: 0 / 449.1 MB, free: 20.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.1801, allocations: 69.23 kB / 449.2 MB, free: 20.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.1804, allocations: 16.11 kB / 449.2 MB, free: 20.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.1816, allocations: 373.2 kB / 449.6 MB, free: 20.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.132e-05/0.1816, allocations: 84.59 kB / 449.6 MB, free: 20.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.174e-05/0.1817, allocations: 9.797 kB / 449.7 MB, free: 20.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.662e-05/0.1818, allocations: 22.98 kB / 449.7 MB, free: 20.73 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1818, allocations: 3.844 kB / 449.7 MB, free: 20.73 MB / 366.1 MB Notification: Performance of Templates: time 0.004844/0.1866, allocations: 1.848 MB / 451.5 MB, free: 20.54 MB / 366.1 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.607060972601175]