Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00266/0.00266, allocations: 92.97 kB / 20.21 MB, free: 4.207 MB / 18.57 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.003019/0.003019, allocations: 169.2 kB / 23.52 MB, free: 0.8984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 158.6 MB / 185.3 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2282/0.2282, allocations: 32.36 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.ConversionBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.028e-05/3.227e-05, allocations: 6.312 kB / 346.9 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003074/0.003107, allocations: 2.037 MB / 349 MB, free: 7.746 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001924/0.005031, allocations: 1.298 MB / 350.3 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.988e-05/0.005131, allocations: 7.938 kB / 350.3 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.153e-05/0.005192, allocations: 27.66 kB / 350.3 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.005343, allocations: 35.66 kB / 350.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004721/0.005815, allocations: 191.1 kB / 350.5 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.00598, allocations: 180 kB / 350.7 MB, free: 6.004 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.006175, allocations: 80.14 kB / 350.8 MB, free: 5.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.006364, allocations: 111.7 kB / 350.9 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.632e-05/0.006451, allocations: 63.72 kB / 351 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.00648, allocations: 16 kB / 351 MB, free: 5.742 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000236/0.006716, allocations: 143.7 kB / 351.1 MB, free: 5.602 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.521e-05/0.006751, allocations: 47.81 kB / 351.2 MB, free: 5.555 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.995e-05/0.006801, allocations: 63.81 kB / 351.2 MB, free: 5.492 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003831/0.007184, allocations: 326.6 kB / 351.5 MB, free: 5.172 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.007188, allocations: 0 / 351.5 MB, free: 5.172 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.007189, allocations: 4 kB / 351.6 MB, free: 5.168 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.007196, allocations: 0 / 351.6 MB, free: 5.168 MB / 282.7 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.0005852/0.007781, allocations: 0.5542 MB / 352.1 MB, free: 4.578 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.007824, allocations: 8.031 kB / 352.1 MB, free: 4.57 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008679/0.008692, allocations: 159.7 kB / 352.3 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.675e-05/0.008789, allocations: 136.3 kB / 352.4 MB, free: 4.254 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.008814, allocations: 17.03 kB / 352.4 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.008843, allocations: 32.38 kB / 352.4 MB, free: 4.203 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003195/0.009163, allocations: 198.7 kB / 352.6 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.009179, allocations: 192 / 352.6 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.009199, allocations: 8.375 kB / 352.7 MB, free: 3.996 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.009208, allocations: 11.94 kB / 352.7 MB, free: 3.984 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002362/0.009444, allocations: 138.5 kB / 352.8 MB, free: 3.852 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008345/0.01028, allocations: 0.5702 MB / 353.4 MB, free: 3.242 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004785/0.01076, allocations: 228.3 kB / 353.6 MB, free: 3.004 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.01087, allocations: 60.14 kB / 353.7 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.0109, allocations: 4.234 kB / 353.7 MB, free: 2.938 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.01092, allocations: 42.09 kB / 353.7 MB, free: 2.887 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 1.292e-06/0.01092, allocations: 0 / 353.7 MB, free: 2.887 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004321/0.01135, allocations: 231.5 kB / 353.9 MB, free: 2.656 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.01138, allocations: 55.41 kB / 354 MB, free: 2.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.585e-05/0.01145, allocations: 161.9 kB / 354.1 MB, free: 2.414 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.01146, allocations: 29.7 kB / 354.2 MB, free: 2.379 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.387e-05/0.01151, allocations: 183.4 kB / 354.3 MB, free: 2.195 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.373e-05/0.01157, allocations: 99.16 kB / 354.4 MB, free: 2.098 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.916e-05/0.01163, allocations: 47.36 kB / 354.5 MB, free: 2.043 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.585e-05/0.01171, allocations: 0.4962 MB / 355 MB, free: 1.535 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.742e-05/0.01179, allocations: 35.98 kB / 355 MB, free: 1.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.143e-05/0.01186, allocations: 48.89 kB / 355.1 MB, free: 1.453 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.01203, allocations: 127.6 kB / 355.2 MB, free: 1.324 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01204, allocations: 0 / 355.2 MB, free: 1.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002211/0.01226, allocations: 165.6 kB / 355.4 MB, free: 1.156 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.01227, allocations: 4 kB / 355.4 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.01228, allocations: 3.984 kB / 355.4 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.0123, allocations: 3.938 kB / 355.4 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003325/0.01263, allocations: 103.9 kB / 355.5 MB, free: 1.043 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.01264, allocations: 4 kB / 355.5 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.283e-05/0.0127, allocations: 15.89 kB / 355.5 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.01271, allocations: 4 kB / 355.5 MB, free: 1.02 MB / 282.7 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 8.927e-05/0.0128, allocations: 172.6 kB / 355.7 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.01284, allocations: 31.78 kB / 355.7 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.298e-05/0.01293, allocations: 25.3 kB / 355.7 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.01293, allocations: 7.938 kB / 355.7 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.01294, allocations: 0 / 355.7 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.01294, allocations: 0 / 355.7 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.01313, allocations: 208.5 kB / 355.9 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.01313, allocations: 0 / 355.9 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003182/0.01345, allocations: 96.19 kB / 356 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01345, allocations: 0 / 356 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.01347, allocations: 12 kB / 356 MB, free: 440 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01347, allocations: 0 / 356 MB, free: 440 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.01347, allocations: 3.938 kB / 356 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.01375, allocations: 332.5 kB / 356.4 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.522e-05/0.01377, allocations: 19.84 kB / 356.4 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.01379, allocations: 7.984 kB / 356.4 MB, free: 56 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.206e-05/0.01388, allocations: 4 kB / 356.4 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.979e-05/0.01394, allocations: 23.91 kB / 356.4 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.01395, allocations: 4 kB / 356.4 MB, free: 24 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001106/0.01406, allocations: 127.2 kB / 356.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01406, allocations: 0 / 356.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002948/0.01435, allocations: 51.89 kB / 356.6 MB, free: 15.85 MB / 298.7 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.0001635/0.01452, allocations: 103.2 kB / 356.7 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003523/0.01487, allocations: 139.5 kB / 356.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01487, allocations: 0 / 356.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.01504, allocations: 88.28 kB / 356.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.01534, allocations: 17.12 kB / 356.9 MB, free: 15.49 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008792/0.01622, allocations: 445.3 kB / 357.4 MB, free: 15.03 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.01636, allocations: 120.8 kB / 357.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.993e-05/0.01646, allocations: 17.47 kB / 357.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.425e-05/0.01652, allocations: 16.5 kB / 357.5 MB, free: 14.86 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01652, allocations: 4 kB / 357.5 MB, free: 14.86 MB / 298.7 MB Notification: Performance of Templates: time 0.004851/0.02137, allocations: 0.9843 MB / 358.5 MB, free: 13.88 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.272852192050777]