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.001349/0.001349, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001134/0.001134, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.9989/0.9989, allocations: 177.1 MB / 206 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] 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.142/0.142, allocations: 32.81 MB / 295.4 MB, free: 15.37 MB / 282.7 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: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.391e-05/1.555e-05, allocations: 2.312 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002118/0.002134, allocations: 2.076 MB / 379.3 MB, free: 23.49 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.003333, allocations: 1.357 MB / 380.7 MB, free: 22.13 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.194e-05/0.003425, allocations: 8 kB / 380.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 3.889e-05/0.003464, allocations: 23.67 kB / 380.7 MB, free: 22.1 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.286e-05/0.003557, allocations: 39.64 kB / 380.8 MB, free: 22.06 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.00389, allocations: 207 kB / 381 MB, free: 21.86 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.00405, allocations: 176.1 kB / 381.1 MB, free: 21.68 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.00421, allocations: 80.06 kB / 381.2 MB, free: 21.61 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.004375, allocations: 123.7 kB / 381.3 MB, free: 21.48 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.483e-05/0.004439, allocations: 67.72 kB / 381.4 MB, free: 21.42 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.00446, allocations: 16 kB / 381.4 MB, free: 21.4 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.004621, allocations: 151.7 kB / 381.6 MB, free: 21.25 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.464e-05/0.004645, allocations: 47.81 kB / 381.6 MB, free: 21.21 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.00468, allocations: 55.78 kB / 381.7 MB, free: 21.15 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.004893, allocations: 290.8 kB / 382 MB, free: 20.87 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.004895, allocations: 0 / 382 MB, free: 20.87 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004896, allocations: 0 / 382 MB, free: 20.87 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.0049, allocations: 0 / 382 MB, free: 20.87 MB / 314.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.0003439/0.005243, allocations: 0.5545 MB / 382.5 MB, free: 20.28 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.005276, allocations: 15.98 kB / 382.5 MB, free: 20.26 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000506/0.005782, allocations: 171.7 kB / 382.7 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.005911, allocations: 152.3 kB / 382.8 MB, free: 19.92 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.005926, allocations: 21.03 kB / 382.9 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.005943, allocations: 24.38 kB / 382.9 MB, free: 19.87 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.006074, allocations: 171.3 kB / 383.1 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.006083, allocations: 8.172 kB / 383.1 MB, free: 19.69 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.006095, allocations: 12.38 kB / 383.1 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.006102, allocations: 11.94 kB / 383.1 MB, free: 19.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.016e-05/0.006162, allocations: 68.52 kB / 383.2 MB, free: 19.6 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.006578, allocations: 0.5161 MB / 383.7 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.006786, allocations: 168.4 kB / 383.8 MB, free: 18.88 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.5e-05/0.006821, allocations: 48.12 kB / 383.9 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.006838, allocations: 4.234 kB / 383.9 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.359e-05/0.006851, allocations: 37.56 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 1.503e-06/0.006853, allocations: 0 / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.000173/0.007026, allocations: 159.5 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.188e-05/0.007048, allocations: 63.31 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.717e-05/0.007085, allocations: 165.9 kB / 384.3 MB, free: 18.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.007093, allocations: 29.7 kB / 384.3 MB, free: 18.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.771e-05/0.007121, allocations: 175.5 kB / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.007156, allocations: 99.14 kB / 384.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.007191, allocations: 51.34 kB / 384.7 MB, free: 17.99 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.81e-05/0.007229, allocations: 0.4884 MB / 385.1 MB, free: 17.49 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.105e-05/0.00725, allocations: 19.98 kB / 385.2 MB, free: 17.47 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.233e-05/0.007273, allocations: 19.98 kB / 385.2 MB, free: 17.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.465e-05/0.007327, allocations: 75.59 kB / 385.3 MB, free: 17.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.007329, allocations: 0 / 385.3 MB, free: 17.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 9.651e-05/0.007425, allocations: 142.3 kB / 385.4 MB, free: 17.23 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.007436, allocations: 8 kB / 385.4 MB, free: 17.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.00744, allocations: 3.938 kB / 385.4 MB, free: 17.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.467e-06/0.00745, allocations: 7.984 kB / 385.4 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.00762, allocations: 91.89 kB / 385.5 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.007624, allocations: 7.938 kB / 385.5 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.889e-05/0.007653, allocations: 19.84 kB / 385.5 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.00766, allocations: 0 / 385.5 MB, free: 17.09 MB / 314.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 5.302e-05/0.007713, allocations: 176.5 kB / 385.7 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.007737, allocations: 23.94 kB / 385.7 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.007765, allocations: 21.62 kB / 385.7 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.007767, allocations: 4 kB / 385.7 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.00777, allocations: 3.938 kB / 385.8 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.007773, allocations: 0 / 385.8 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.007881, allocations: 161.1 kB / 385.9 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.007882, allocations: 0 / 385.9 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.008034, allocations: 99.89 kB / 386 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.008036, allocations: 7.984 kB / 386 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.008043, allocations: 4 kB / 386 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.008044, allocations: 0 / 386 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.008044, allocations: 0 / 386 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.008157, allocations: 292 kB / 386.3 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.456e-06/0.008166, allocations: 11.89 kB / 386.3 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.008177, allocations: 8 kB / 386.3 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.316e-05/0.00822, allocations: 8 kB / 386.3 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.558e-05/0.008246, allocations: 15.97 kB / 386.3 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.008251, allocations: 8 kB / 386.4 MB, free: 16.21 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.555e-05/0.008267, allocations: 127.2 kB / 386.5 MB, free: 16.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008267, allocations: 0 / 386.5 MB, free: 16.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001595/0.008426, allocations: 67.72 kB / 386.5 MB, free: 16.02 MB / 314.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 5.475e-05/0.008481, allocations: 99.19 kB / 386.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.684e-05/0.008578, allocations: 96 kB / 386.7 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.008579, allocations: 0 / 386.7 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.79e-05/0.008617, allocations: 72.03 kB / 386.8 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.008797, allocations: 21.97 kB / 386.8 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003661/0.009163, allocations: 418.7 kB / 387.2 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.925e-05/0.009192, allocations: 79.83 kB / 387.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.763e-05/0.00925, allocations: 21.47 kB / 387.3 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.396e-05/0.009304, allocations: 94.12 kB / 387.4 MB, free: 15.07 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.009304, allocations: 0 / 387.4 MB, free: 15.07 MB / 314.7 MB Notification: Performance of Templates: time 0.002547/0.01185, allocations: 1.131 MB / 388.6 MB, free: 13.96 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3302587592042983]