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.002259/0.002259, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.002482/0.002482, allocations: 198 kB / 23.72 MB, free: 4.492 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.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.239/0.239, allocations: 44.94 MB / 358.8 MB, free: 6.035 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.00209/0.00209, allocations: 71.89 kB / 0.4935 GB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3188, allocations: 65.46 MB / 0.5574 GB, free: 7.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003211/0.322, allocations: 1.851 MB / 0.5592 GB, free: 5.586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.3231, allocations: 0.5543 MB / 0.5598 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.534e-05/0.3232, allocations: 4 kB / 0.5598 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.296e-05/0.3232, allocations: 11.86 kB / 0.5598 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002036/0.3234, allocations: 35.72 kB / 0.5598 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.3237, allocations: 99.47 kB / 0.5599 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.3239, allocations: 151.4 kB / 0.5601 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.324, allocations: 28.95 kB / 0.5601 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.3242, allocations: 79.64 kB / 0.5602 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.3243, allocations: 59.75 kB / 0.5602 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.088e-05/0.3243, allocations: 12 kB / 0.5602 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.711e-05/0.3244, allocations: 16 kB / 0.5603 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.037e-05/0.3245, allocations: 35.89 kB / 0.5603 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.665e-05/0.3245, allocations: 51.72 kB / 0.5603 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.3247, allocations: 146.2 kB / 0.5605 GB, free: 4.316 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3248, allocations: 0 / 0.5605 GB, free: 4.316 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3248, allocations: 0 / 0.5605 GB, free: 4.316 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3248, allocations: 0 / 0.5605 GB, free: 4.316 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.0007983/0.3256, allocations: 377.8 kB / 0.5608 GB, free: 3.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.3256, allocations: 8.031 kB / 0.5609 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002916/0.3259, allocations: 40.81 kB / 0.5609 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.326, allocations: 142.3 kB / 0.561 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.3261, allocations: 4.375 kB / 0.561 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.3261, allocations: 8.375 kB / 0.561 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000366/0.3264, allocations: 187.9 kB / 0.5612 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.3265, allocations: 0 / 0.5612 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.3265, allocations: 0 / 0.5612 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3265, allocations: 4 kB / 0.5612 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003359/0.3268, allocations: 103.9 kB / 0.5613 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007553/0.3276, allocations: 367.1 kB / 0.5617 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003141/0.3279, allocations: 86.47 kB / 0.5618 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.328, allocations: 40.92 kB / 0.5618 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.328, allocations: 0 / 0.5618 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.3281, allocations: 38.56 kB / 0.5618 GB, free: 2.797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.3281, allocations: 0 / 0.5618 GB, free: 2.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0013/0.3294, allocations: 321.1 kB / 0.5621 GB, free: 2.477 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.987e-05/0.3294, allocations: 102.8 kB / 0.5622 GB, free: 2.352 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.3296, allocations: 164.4 kB / 0.5624 GB, free: 2.184 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.3296, allocations: 25.7 kB / 0.5624 GB, free: 2.152 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.663e-05/0.3297, allocations: 112.2 kB / 0.5625 GB, free: 2.035 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.3297, allocations: 23.86 kB / 0.5625 GB, free: 2.012 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/0.3298, allocations: 25.7 kB / 0.5626 GB, free: 1.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3299, allocations: 326.8 kB / 0.5629 GB, free: 1.652 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.3301, allocations: 55.95 kB / 0.5629 GB, free: 1.598 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/0.3304, allocations: 143.6 kB / 0.5631 GB, free: 1.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004456/0.3309, allocations: 138.5 kB / 0.5632 GB, free: 1.285 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3309, allocations: 4 kB / 0.5632 GB, free: 1.281 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00051/0.3314, allocations: 177.5 kB / 0.5634 GB, free: 1.102 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.3314, allocations: 4 kB / 0.5634 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3314, allocations: 0 / 0.5634 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.3314, allocations: 7.938 kB / 0.5634 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005692/0.332, allocations: 87.91 kB / 0.5635 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.3334, allocations: 1.378 MB / 0.5648 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.3336, allocations: 23.91 kB / 0.5648 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.3337, allocations: 8 kB / 0.5649 GB, free: 15.49 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.0001128/0.3338, allocations: 121.8 kB / 0.565 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.564e-05/0.3338, allocations: 7.953 kB / 0.565 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004959/0.3343, allocations: 178.6 kB / 0.5651 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3343, allocations: 0 / 0.5651 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.3343, allocations: 3.938 kB / 0.5651 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3343, allocations: 0 / 0.5651 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007537/0.3351, allocations: 386 kB / 0.5655 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.3351, allocations: 4 kB / 0.5655 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.3352, allocations: 27.91 kB / 0.5655 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3352, allocations: 4 kB / 0.5656 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.3352, allocations: 8 kB / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.3352, allocations: 4.062 kB / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3352, allocations: 0 / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005188/0.3358, allocations: 251.3 kB / 0.5658 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.972e-05/0.3358, allocations: 11.95 kB / 0.5658 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.3358, allocations: 3.984 kB / 0.5658 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.336, allocations: 19.98 kB / 0.5658 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.336, allocations: 7.984 kB / 0.5658 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.336, allocations: 4 kB / 0.5658 GB, free: 14.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.85e-05/0.3361, allocations: 107.2 kB / 0.5659 GB, free: 14.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3361, allocations: 7.938 kB / 0.566 GB, free: 14.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.3364, allocations: 35.94 kB / 0.566 GB, free: 14.25 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.0001059/0.3365, allocations: 99.19 kB / 0.5661 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008532/0.3374, allocations: 168 kB / 0.5662 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3374, allocations: 0 / 0.5662 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.3376, allocations: 63.88 kB / 0.5663 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.3379, allocations: 12 kB / 0.5663 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.3392, allocations: 387.8 kB / 0.5667 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.52e-05/0.3393, allocations: 88.19 kB / 0.5668 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.279e-05/0.3394, allocations: 12.42 kB / 0.5668 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.949e-05/0.3394, allocations: 19.42 kB / 0.5668 GB, free: 13.36 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3394, allocations: 3.938 kB / 0.5668 GB, free: 13.36 MB / 414.1 MB Notification: Performance of Templates: time 0.00511/0.3445, allocations: 1.938 MB / 0.5687 GB, free: 11.43 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/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.2419339045882225]