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.001302/0.001302, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.00106/0.00106, allocations: 170.9 kB / 24.82 MB, free: 8.926 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.9427/0.9427, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2405/0.2405, allocations: 32.81 MB / 294.6 MB, free: 1.184 MB / 266.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.894e-06/1.894e-06, allocations: 0 / 376.5 MB, free: 4.375 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.781e-05/2.971e-05, allocations: 9.406 kB / 376.5 MB, free: 4.367 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002838/0.002868, allocations: 2.076 MB / 378.6 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.004673, allocations: 1.367 MB / 379.9 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.004805, allocations: 7.938 kB / 379.9 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.356e-05/0.004859, allocations: 19.73 kB / 380 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.004978, allocations: 43.64 kB / 380 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000506/0.005484, allocations: 195.1 kB / 380.2 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.005682, allocations: 187.9 kB / 380.4 MB, free: 460 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.005879, allocations: 80.14 kB / 380.5 MB, free: 380 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.006084, allocations: 115.7 kB / 380.6 MB, free: 264 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.846e-05/0.006162, allocations: 67.78 kB / 380.6 MB, free: 196 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.006186, allocations: 16 kB / 380.7 MB, free: 180 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002259/0.006412, allocations: 143.7 kB / 380.8 MB, free: 36 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.705e-05/0.006459, allocations: 47.89 kB / 380.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.219e-05/0.006501, allocations: 63.69 kB / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003205/0.006821, allocations: 290.8 kB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.006826, allocations: 0 / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.006827, allocations: 0 / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.006831, allocations: 4 kB / 381.2 MB, free: 15.64 MB / 362.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.0004384/0.00727, allocations: 0.5544 MB / 381.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.007307, allocations: 8.031 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005517/0.007859, allocations: 167.8 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.008007, allocations: 156.2 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.008026, allocations: 21.03 kB / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.008045, allocations: 28.38 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.008214, allocations: 163.4 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.008223, allocations: 192 / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.008236, allocations: 12.38 kB / 382.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.517e-06/0.008245, allocations: 7.938 kB / 382.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.098e-05/0.008316, allocations: 84.44 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004777/0.008794, allocations: 0.5122 MB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.009029, allocations: 168.4 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.093e-05/0.009069, allocations: 44.11 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.00909, allocations: 8.234 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.009115, allocations: 37.62 kB / 383.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.693e-06/0.009117, allocations: 0 / 383.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.0001895/0.009306, allocations: 158.7 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.00933, allocations: 63.33 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.813e-05/0.009388, allocations: 161.9 kB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.009402, allocations: 33.64 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.338e-05/0.009455, allocations: 183.4 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.009504, allocations: 95.16 kB / 383.8 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.009549, allocations: 51.33 kB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.009654, allocations: 0.4923 MB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.596e-05/0.00968, allocations: 19.98 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.325e-05/0.009703, allocations: 19.98 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.036e-05/0.009774, allocations: 77.05 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.009776, allocations: 4 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001177/0.009893, allocations: 141.5 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.009903, allocations: 4 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.009908, allocations: 3.984 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.009919, allocations: 0 / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.01011, allocations: 99.89 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.01012, allocations: 7.938 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.064e-05/0.01015, allocations: 19.89 kB / 384.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.01015, allocations: 256 / 384.8 MB, free: 11.87 MB / 362.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 7.131e-05/0.01022, allocations: 168.6 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.01025, allocations: 19.95 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.894e-05/0.01028, allocations: 21.62 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.01028, allocations: 4 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.01029, allocations: 11.88 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.01029, allocations: 0 / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.01042, allocations: 161.1 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01042, allocations: 8 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.01059, allocations: 91.94 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.01059, allocations: 4 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.0106, allocations: 4 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.0106, allocations: 0 / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.0106, allocations: 0 / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.01076, allocations: 299.7 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.028e-05/0.01077, allocations: 15.89 kB / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.01078, allocations: 4 kB / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.372e-05/0.01082, allocations: 8 kB / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.788e-05/0.01085, allocations: 11.97 kB / 385.6 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.01086, allocations: 4 kB / 385.6 MB, free: 11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.432e-05/0.01089, allocations: 135.1 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01089, allocations: 0 / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000175/0.01107, allocations: 59.78 kB / 385.8 MB, free: 10.81 MB / 362.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 7.543e-05/0.01114, allocations: 99.19 kB / 385.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000113/0.01126, allocations: 104 kB / 386 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01126, allocations: 4 kB / 386 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.516e-05/0.0113, allocations: 59.59 kB / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.01149, allocations: 12 kB / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004565/0.01195, allocations: 430.7 kB / 386.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.731e-05/0.012, allocations: 79.83 kB / 386.5 MB, free: 9.969 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.45e-05/0.01206, allocations: 21.47 kB / 386.6 MB, free: 9.945 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.958e-05/0.01213, allocations: 90.19 kB / 386.6 MB, free: 9.855 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01213, allocations: 0 / 386.6 MB, free: 9.855 MB / 362.7 MB Notification: Performance of Templates: time 0.002717/0.01485, allocations: 1.112 MB / 387.8 MB, free: 8.762 MB / 362.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: 2.832228841725737]