Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001291/0.001291, allocations: 107.6 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.001424/0.001424, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.465/1.465, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2312/0.2312, allocations: 46.96 MB / 361.6 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Blocks.ConversionBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 67.89 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3081, allocations: 66.03 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003463/0.3116, allocations: 2.05 MB / 0.5638 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002267/0.3139, allocations: 1.266 MB / 0.5651 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.828e-05/0.314, allocations: 8 kB / 0.5651 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.312e-05/0.314, allocations: 23.67 kB / 0.5651 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.3142, allocations: 35.7 kB / 0.5651 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005645/0.3147, allocations: 199.3 kB / 0.5653 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.315, allocations: 176.1 kB / 0.5655 GB, free: 416 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.3152, allocations: 91.88 kB / 0.5656 GB, free: 324 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.3153, allocations: 87.64 kB / 0.5657 GB, free: 236 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.3155, allocations: 91.55 kB / 0.5657 GB, free: 144 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.131e-05/0.3155, allocations: 16 kB / 0.5658 GB, free: 128 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003092/0.3158, allocations: 151.9 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.971e-05/0.3158, allocations: 47.77 kB / 0.5659 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.405e-05/0.3159, allocations: 79.55 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004332/0.3164, allocations: 321 kB / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.3164, allocations: 4 kB / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3164, allocations: 0 / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.3164, allocations: 0 / 0.5663 GB, free: 15.54 MB / 414.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.0006309/0.317, allocations: 465.5 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.317, allocations: 12.03 kB / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009374/0.318, allocations: 76.73 kB / 0.5669 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.3183, allocations: 158.2 kB / 0.567 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.3183, allocations: 17.03 kB / 0.567 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.13e-05/0.3183, allocations: 28.38 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003903/0.3187, allocations: 206.4 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3187, allocations: 4 kB / 0.5673 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.3188, allocations: 12 kB / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.3188, allocations: 4 kB / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002718/0.319, allocations: 146.5 kB / 0.5674 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008252/0.3199, allocations: 480.8 kB / 0.5679 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005299/0.3204, allocations: 211.8 kB / 0.5681 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.3205, allocations: 61.3 kB / 0.5681 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.3206, allocations: 4.234 kB / 0.5681 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.3206, allocations: 38.73 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.443e-06/0.3206, allocations: 0 / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004834/0.3211, allocations: 223.8 kB / 0.5684 GB, free: 13.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.3211, allocations: 55.41 kB / 0.5684 GB, free: 13.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.3212, allocations: 109.8 kB / 0.5685 GB, free: 13.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.3213, allocations: 29.7 kB / 0.5686 GB, free: 13.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.081e-05/0.3213, allocations: 136.7 kB / 0.5687 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.09e-05/0.3214, allocations: 95.17 kB / 0.5688 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.796e-05/0.3215, allocations: 37.7 kB / 0.5688 GB, free: 12.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.3216, allocations: 322.8 kB / 0.5691 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.3217, allocations: 39.97 kB / 0.5692 GB, free: 12.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.509e-05/0.3218, allocations: 53.83 kB / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.3221, allocations: 117.3 kB / 0.5693 GB, free: 12.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3221, allocations: 0 / 0.5693 GB, free: 12.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002966/0.3224, allocations: 169.5 kB / 0.5695 GB, free: 12.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.3224, allocations: 7.938 kB / 0.5695 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3224, allocations: 7.922 kB / 0.5695 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.3224, allocations: 0 / 0.5695 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/0.3228, allocations: 95.95 kB / 0.5696 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.3228, allocations: 7.938 kB / 0.5696 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.176e-05/0.3229, allocations: 15.89 kB / 0.5696 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.3229, allocations: 7.984 kB / 0.5696 GB, free: 11.98 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.0001155/0.323, allocations: 125.8 kB / 0.5698 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.953e-05/0.323, allocations: 15.84 kB / 0.5698 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.217e-05/0.3231, allocations: 21.62 kB / 0.5698 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.3231, allocations: 4 kB / 0.5698 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3231, allocations: 0 / 0.5698 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3231, allocations: 7.938 kB / 0.5698 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.3234, allocations: 189.1 kB / 0.57 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3234, allocations: 0 / 0.57 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003827/0.3238, allocations: 99.88 kB / 0.5701 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.3238, allocations: 0 / 0.5701 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.3238, allocations: 7.938 kB / 0.5701 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.533e-06/0.3238, allocations: 4 kB / 0.5701 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3238, allocations: 4 kB / 0.5701 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.3242, allocations: 275.6 kB / 0.5704 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.131e-05/0.3242, allocations: 19.84 kB / 0.5704 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.3242, allocations: 7.938 kB / 0.5704 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.317e-05/0.3243, allocations: 8 kB / 0.5704 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.3243, allocations: 19.95 kB / 0.5704 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.3243, allocations: 4 kB / 0.5704 GB, free: 11.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.981e-05/0.3244, allocations: 91.53 kB / 0.5705 GB, free: 11.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3244, allocations: 0 / 0.5705 GB, free: 11.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.3247, allocations: 39.89 kB / 0.5705 GB, free: 11 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.0001042/0.3248, allocations: 103.2 kB / 0.5706 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002905/0.3251, allocations: 123.9 kB / 0.5708 GB, free: 10.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3251, allocations: 0 / 0.5708 GB, free: 10.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.3252, allocations: 71.89 kB / 0.5708 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.3254, allocations: 14.19 kB / 0.5708 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008256/0.3263, allocations: 0.4994 MB / 0.5713 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.3264, allocations: 124.6 kB / 0.5714 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.137e-05/0.3264, allocations: 23.44 kB / 0.5715 GB, free: 9.988 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3264, allocations: 3.938 kB / 0.5715 GB, free: 9.984 MB / 414.1 MB Notification: Performance of Templates: time 0.003668/0.3301, allocations: 1.854 MB / 0.5733 GB, free: 8.125 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.212958329997491]