Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.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.001719/0.001719, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.002055/0.002055, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.517/1.517, allocations: 230.6 MB / 258.3 MB, free: 8.227 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.2341/0.2341, allocations: 44.91 MB / 359.6 MB, free: 6.328 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.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks") translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks") [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.002662/0.002662, allocations: 71.88 kB / 0.4943 GB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3377, allocations: 65.46 MB / 0.5583 GB, free: 7.723 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003583/0.3412, allocations: 2.147 MB / 0.5604 GB, free: 5.598 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002391/0.3436, allocations: 1.398 MB / 0.5617 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.581e-05/0.3437, allocations: 4 kB / 0.5617 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.637e-05/0.3438, allocations: 31.59 kB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.3439, allocations: 35.66 kB / 0.5618 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005038/0.3444, allocations: 199.3 kB / 0.562 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.3447, allocations: 180.1 kB / 0.5622 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.3449, allocations: 87.88 kB / 0.5622 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.345, allocations: 87.64 kB / 0.5623 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.3452, allocations: 91.55 kB / 0.5624 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.3452, allocations: 16 kB / 0.5624 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003017/0.3455, allocations: 147.9 kB / 0.5626 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.825e-05/0.3455, allocations: 47.83 kB / 0.5626 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.309e-05/0.3456, allocations: 87.48 kB / 0.5627 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004465/0.3461, allocations: 325 kB / 0.563 GB, free: 2.879 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3461, allocations: 4 kB / 0.563 GB, free: 2.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3461, allocations: 3.938 kB / 0.563 GB, free: 2.871 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.3461, allocations: 0 / 0.563 GB, free: 2.871 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006554/0.3467, allocations: 465.5 kB / 0.5635 GB, free: 2.387 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.3468, allocations: 8.031 kB / 0.5635 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008929/0.3477, allocations: 80.73 kB / 0.5635 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.3479, allocations: 154.2 kB / 0.5637 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.348, allocations: 17.03 kB / 0.5637 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.985e-05/0.348, allocations: 28.38 kB / 0.5637 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003697/0.3484, allocations: 210.4 kB / 0.5639 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3484, allocations: 0 / 0.5639 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.3484, allocations: 12 kB / 0.5639 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.3484, allocations: 7.938 kB / 0.564 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.3487, allocations: 146.5 kB / 0.5641 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008773/0.3496, allocations: 0.5509 MB / 0.5646 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005261/0.3501, allocations: 215.4 kB / 0.5648 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.3502, allocations: 61.3 kB / 0.5649 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.3502, allocations: 4.172 kB / 0.5649 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.3503, allocations: 42.73 kB / 0.5649 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.493e-06/0.3503, allocations: 0 / 0.5649 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004723/0.3508, allocations: 222.9 kB / 0.5652 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.3508, allocations: 55.41 kB / 0.5652 GB, free: 500 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.901e-05/0.3509, allocations: 105.8 kB / 0.5653 GB, free: 384 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.3509, allocations: 25.7 kB / 0.5653 GB, free: 352 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.023e-05/0.351, allocations: 140.7 kB / 0.5655 GB, free: 208 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.891e-05/0.3511, allocations: 95.16 kB / 0.5656 GB, free: 112 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.386e-05/0.3512, allocations: 45.69 kB / 0.5656 GB, free: 60 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3513, allocations: 322.8 kB / 0.5659 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.813e-05/0.3514, allocations: 39.97 kB / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.092e-05/0.3515, allocations: 49.84 kB / 0.566 GB, free: 15.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.3517, allocations: 117.2 kB / 0.5661 GB, free: 15.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3517, allocations: 4.25 kB / 0.5661 GB, free: 15.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002932/0.352, allocations: 165.5 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.352, allocations: 4 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.352, allocations: 4 kB / 0.5663 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.3521, allocations: 11.98 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/0.3524, allocations: 95.89 kB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3524, allocations: 0 / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.761e-05/0.3525, allocations: 15.89 kB / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.3525, allocations: 7.984 kB / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (27): * Single equations (assignments): 27 * 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 prepare postOptimizeDAE: time 0.0001291/0.3526, allocations: 133.8 kB / 0.5665 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.3527, allocations: 15.84 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.486e-05/0.3527, allocations: 29.62 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.3528, allocations: 3.984 kB / 0.5666 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3528, allocations: 0 / 0.5666 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3528, allocations: 0 / 0.5666 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/0.3531, allocations: 244.5 kB / 0.5668 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.3531, allocations: 3.938 kB / 0.5668 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003632/0.3534, allocations: 107.8 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3534, allocations: 0 / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.3534, allocations: 8 kB / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3534, allocations: 0 / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3534, allocations: 0 / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003442/0.3538, allocations: 271.7 kB / 0.5672 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.279e-05/0.3538, allocations: 23.78 kB / 0.5672 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.3538, allocations: 4 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.179e-05/0.3539, allocations: 8 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.354, allocations: 11.97 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.354, allocations: 8 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.181e-05/0.354, allocations: 87.27 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.354, allocations: 0 / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002822/0.3543, allocations: 47.89 kB / 0.5674 GB, free: 14.16 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 (27): * Single equations (assignments): 27 * 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.0001003/0.3544, allocations: 103.1 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002897/0.3547, allocations: 127.9 kB / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3547, allocations: 0 / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.3548, allocations: 67.91 kB / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.3551, allocations: 15.94 kB / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008144/0.3559, allocations: 0.5033 MB / 0.5682 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.3563, allocations: 0.7356 MB / 0.5689 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.96e-05/0.3563, allocations: 19.44 kB / 0.5689 GB, free: 12.53 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3563, allocations: 0 / 0.5689 GB, free: 12.53 MB / 414.1 MB Notification: Performance of Templates: time 0.003867/0.3602, allocations: 1.778 MB / 0.5706 GB, free: 10.75 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.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.569627115968615]