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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 112.4 kB / 21.1 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002042/0.002042, allocations: 191.8 kB / 24.36 MB, free: 4.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 253.1 MB, free: 13.05 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.2386/0.2386, allocations: 44.91 MB / 353.2 MB, free: 11.87 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 71.89 kB / 497.3 MB, free: 1.113 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3232, allocations: 64.28 MB / 0.5484 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003749/0.327, allocations: 2.118 MB / 0.5505 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002506/0.3295, allocations: 1.333 MB / 0.5518 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.688e-05/0.3296, allocations: 3.969 kB / 0.5518 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.751e-05/0.3297, allocations: 23.67 kB / 0.5518 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001372/0.3298, allocations: 39.33 kB / 0.5519 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004984/0.3303, allocations: 184.5 kB / 0.5521 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.3305, allocations: 179.2 kB / 0.5522 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.3307, allocations: 80.47 kB / 0.5523 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.3308, allocations: 75.97 kB / 0.5524 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.331, allocations: 92.58 kB / 0.5525 GB, free: 9.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.331, allocations: 19.06 kB / 0.5525 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003088/0.3313, allocations: 148 kB / 0.5526 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.693e-05/0.3313, allocations: 44.19 kB / 0.5527 GB, free: 9.812 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.506e-05/0.3314, allocations: 95.11 kB / 0.5528 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004483/0.3319, allocations: 326.9 kB / 0.5531 GB, free: 9.535 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3319, allocations: 0 / 0.5531 GB, free: 9.535 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3319, allocations: 0 / 0.5531 GB, free: 9.535 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.3319, allocations: 0 / 0.5531 GB, free: 9.535 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.0006728/0.3326, allocations: 458.3 kB / 0.5535 GB, free: 9.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3326, allocations: 9.125 kB / 0.5535 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008826/0.3335, allocations: 70.5 kB / 0.5536 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.3336, allocations: 128.8 kB / 0.5537 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.3336, allocations: 19.81 kB / 0.5537 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.779e-05/0.3337, allocations: 24.69 kB / 0.5537 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003819/0.3341, allocations: 216.4 kB / 0.554 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3341, allocations: 0 / 0.554 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.3341, allocations: 11.09 kB / 0.554 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.3341, allocations: 6.594 kB / 0.554 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002846/0.3344, allocations: 143.5 kB / 0.5541 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009233/0.3353, allocations: 0.5429 MB / 0.5546 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005598/0.3359, allocations: 218.9 kB / 0.5548 GB, free: 8.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.336, allocations: 64.61 kB / 0.5549 GB, free: 8.145 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.336, allocations: 7.047 kB / 0.5549 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.3361, allocations: 41.28 kB / 0.555 GB, free: 8.094 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.413e-06/0.3361, allocations: 0 / 0.555 GB, free: 8.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005116/0.3366, allocations: 213.1 kB / 0.5552 GB, free: 7.988 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.3366, allocations: 59.3 kB / 0.5552 GB, free: 7.922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.412e-05/0.3367, allocations: 99.3 kB / 0.5553 GB, free: 7.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.3368, allocations: 34.8 kB / 0.5553 GB, free: 7.781 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.762e-05/0.3369, allocations: 141.3 kB / 0.5555 GB, free: 7.648 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.965e-05/0.337, allocations: 90.05 kB / 0.5556 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.512e-05/0.337, allocations: 42.97 kB / 0.5556 GB, free: 7.535 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3372, allocations: 321.2 kB / 0.5559 GB, free: 7.215 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.3373, allocations: 41.27 kB / 0.5559 GB, free: 7.199 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.903e-05/0.3374, allocations: 46.62 kB / 0.556 GB, free: 7.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.3376, allocations: 115.5 kB / 0.5561 GB, free: 7.125 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3376, allocations: 0 / 0.5561 GB, free: 7.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003031/0.3379, allocations: 171.4 kB / 0.5563 GB, free: 7.031 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.3379, allocations: 5.094 kB / 0.5563 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.3379, allocations: 1 kB / 0.5563 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.338, allocations: 1 kB / 0.5563 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004127/0.3384, allocations: 104 kB / 0.5564 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.3384, allocations: 9.328 kB / 0.5564 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.579e-05/0.3385, allocations: 15.27 kB / 0.5564 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.3385, allocations: 5.188 kB / 0.5564 GB, free: 6.988 MB / 398.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.0001574/0.3386, allocations: 132.9 kB / 0.5565 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.3387, allocations: 16.12 kB / 0.5565 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.351e-05/0.3387, allocations: 22.25 kB / 0.5566 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3387, allocations: 3.094 kB / 0.5566 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3387, allocations: 7.938 kB / 0.5566 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.3387, allocations: 4.922 kB / 0.5566 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.3391, allocations: 242.8 kB / 0.5568 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3391, allocations: 4.188 kB / 0.5568 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003838/0.3395, allocations: 109.4 kB / 0.5569 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.3395, allocations: 0 / 0.5569 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.3395, allocations: 8 kB / 0.5569 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3395, allocations: 4 kB / 0.5569 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3395, allocations: 0 / 0.5569 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003689/0.3398, allocations: 263.4 kB / 0.5572 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.126e-05/0.3399, allocations: 23.78 kB / 0.5572 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.3399, allocations: 4 kB / 0.5572 GB, free: 6.207 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.496e-05/0.34, allocations: 7.984 kB / 0.5572 GB, free: 6.199 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.34, allocations: 15.97 kB / 0.5572 GB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.34, allocations: 11.94 kB / 0.5572 GB, free: 6.172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.426e-05/0.3401, allocations: 83.28 kB / 0.5573 GB, free: 6.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3401, allocations: 0 / 0.5573 GB, free: 6.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002862/0.3404, allocations: 51.83 kB / 0.5574 GB, free: 6.039 MB / 398.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.0001067/0.3405, allocations: 95.25 kB / 0.5575 GB, free: 5.938 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002876/0.3408, allocations: 124.3 kB / 0.5576 GB, free: 5.816 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.3408, allocations: 4 kB / 0.5576 GB, free: 5.812 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.3409, allocations: 80.3 kB / 0.5577 GB, free: 5.734 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.3411, allocations: 11.94 kB / 0.5577 GB, free: 5.723 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007661/0.3419, allocations: 469.3 kB / 0.5581 GB, free: 5.234 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.3422, allocations: 0.7319 MB / 0.5588 GB, free: 4.477 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.9e-05/0.3423, allocations: 21.41 kB / 0.5589 GB, free: 4.457 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.615e-05/0.3424, allocations: 15.44 kB / 0.5589 GB, free: 4.441 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3424, allocations: 0 / 0.5589 GB, free: 4.441 MB / 398.1 MB Notification: Performance of Templates: time 0.003986/0.3464, allocations: 1.08 MB / 0.5599 GB, free: 3.363 MB / 398.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins/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: 5.091458959504962]