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.001591/0.001591, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001729/0.001729, allocations: 214.2 kB / 24.48 MB, free: 3.84 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.515/1.515, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 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.2443/0.2443, allocations: 44.93 MB / 359.6 MB, free: 6.133 MB / 286.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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 63.89 kB / 0.4942 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3249, allocations: 65.47 MB / 0.5582 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003282/0.3282, allocations: 1.851 MB / 0.56 GB, free: 5.605 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.3293, allocations: 0.5542 MB / 0.5605 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.979e-05/0.3294, allocations: 7.938 kB / 0.5605 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.132e-05/0.3294, allocations: 15.86 kB / 0.5606 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.3296, allocations: 35.7 kB / 0.5606 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.33, allocations: 87.75 kB / 0.5607 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.3302, allocations: 155.4 kB / 0.5608 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.3303, allocations: 20.97 kB / 0.5608 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002272/0.3305, allocations: 83.69 kB / 0.5609 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.3306, allocations: 59.75 kB / 0.561 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.083e-05/0.3307, allocations: 12 kB / 0.561 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.273e-05/0.3307, allocations: 16 kB / 0.561 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4e-05/0.3308, allocations: 31.91 kB / 0.561 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.299e-05/0.3308, allocations: 55.72 kB / 0.5611 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.3311, allocations: 142.3 kB / 0.5612 GB, free: 4.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3311, allocations: 0 / 0.5612 GB, free: 4.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.3311, allocations: 0 / 0.5612 GB, free: 4.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.3311, allocations: 0 / 0.5612 GB, free: 4.34 MB / 398.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.0008388/0.3319, allocations: 377.8 kB / 0.5616 GB, free: 3.941 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.332, allocations: 12.03 kB / 0.5616 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003076/0.3323, allocations: 44.81 kB / 0.5616 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.3324, allocations: 126.4 kB / 0.5618 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.3324, allocations: 8.375 kB / 0.5618 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.3325, allocations: 12.31 kB / 0.5618 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003799/0.3329, allocations: 190.4 kB / 0.562 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3329, allocations: 0 / 0.562 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.3329, allocations: 4 kB / 0.562 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.3329, allocations: 4 kB / 0.562 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003242/0.3332, allocations: 95.92 kB / 0.5621 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008081/0.334, allocations: 363.1 kB / 0.5624 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003176/0.3343, allocations: 102.4 kB / 0.5625 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.3345, allocations: 40.92 kB / 0.5625 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.3345, allocations: 0 / 0.5625 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.3345, allocations: 34.56 kB / 0.5626 GB, free: 2.816 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3345, allocations: 4 kB / 0.5626 GB, free: 2.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.001397/0.3359, allocations: 317.1 kB / 0.5629 GB, free: 2.496 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.146e-05/0.336, allocations: 106.8 kB / 0.563 GB, free: 2.367 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.3362, allocations: 160 kB / 0.5631 GB, free: 2.203 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.3362, allocations: 25.7 kB / 0.5632 GB, free: 2.172 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.729e-05/0.3363, allocations: 124.2 kB / 0.5633 GB, free: 2.043 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.3363, allocations: 19.84 kB / 0.5633 GB, free: 2.023 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.47e-05/0.3364, allocations: 29.7 kB / 0.5633 GB, free: 1.988 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.3365, allocations: 314.8 kB / 0.5636 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.3368, allocations: 59.94 kB / 0.5637 GB, free: 1.613 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002891/0.337, allocations: 155.6 kB / 0.5638 GB, free: 1.434 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004276/0.3375, allocations: 126.5 kB / 0.5639 GB, free: 1.301 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3375, allocations: 4.031 kB / 0.564 GB, free: 1.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005187/0.338, allocations: 169.5 kB / 0.5641 GB, free: 1.125 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.338, allocations: 8 kB / 0.5641 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.338, allocations: 0 / 0.5641 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.338, allocations: 8 kB / 0.5641 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005912/0.3386, allocations: 87.84 kB / 0.5642 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/0.3402, allocations: 1.37 MB / 0.5656 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.3404, allocations: 31.94 kB / 0.5656 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.3404, allocations: 7.984 kB / 0.5656 GB, free: 15.51 MB / 414.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.0001345/0.3405, allocations: 121.8 kB / 0.5657 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.056e-05/0.3406, allocations: 11.95 kB / 0.5657 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005117/0.3411, allocations: 170.4 kB / 0.5659 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3411, allocations: 4 kB / 0.5659 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.3411, allocations: 0 / 0.5659 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.3411, allocations: 0 / 0.5659 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007858/0.3419, allocations: 394 kB / 0.5663 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3419, allocations: 0 / 0.5663 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.3421, allocations: 31.97 kB / 0.5663 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3421, allocations: 288 / 0.5663 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.3421, allocations: 0 / 0.5663 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3421, allocations: 0 / 0.5663 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3421, allocations: 64 / 0.5663 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005423/0.3426, allocations: 263.3 kB / 0.5665 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.046e-05/0.3426, allocations: 11.88 kB / 0.5666 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.3427, allocations: 8 kB / 0.5666 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.3429, allocations: 19.97 kB / 0.5666 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.3429, allocations: 7.984 kB / 0.5666 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.3429, allocations: 4.125 kB / 0.5666 GB, free: 14.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.73e-05/0.343, allocations: 113.7 kB / 0.5667 GB, free: 14.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.343, allocations: 3.938 kB / 0.5667 GB, free: 14.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002893/0.3433, allocations: 39.94 kB / 0.5667 GB, free: 14.26 MB / 414.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 0.0001145/0.3434, allocations: 95.23 kB / 0.5668 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008607/0.3443, allocations: 171.9 kB / 0.567 GB, free: 13.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3443, allocations: 0 / 0.567 GB, free: 13.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002261/0.3445, allocations: 55.95 kB / 0.567 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.3448, allocations: 15.98 kB / 0.5671 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.3461, allocations: 412 kB / 0.5675 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.283e-05/0.3462, allocations: 92.12 kB / 0.5675 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.244e-05/0.3463, allocations: 15.44 kB / 0.5676 GB, free: 13.36 MB / 414.1 MB Notification: Performance of SimCode: time 5.92e-07/0.3463, allocations: 0 / 0.5676 GB, free: 13.36 MB / 414.1 MB Notification: Performance of Templates: time 0.003938/0.3502, allocations: 1.889 MB / 0.5694 GB, free: 11.48 MB / 414.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins1/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: 7.607671614736319]