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.0009161/0.0009161, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001001/0.001001, allocations: 165 kB / 24.56 MB, free: 16 kB / 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 1.064/1.064, allocations: 177.2 MB / 205 MB, free: 5.293 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.2396/0.2396, allocations: 32.81 MB / 294.3 MB, free: 1.242 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.162e-06/1.162e-06, allocations: 0 / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.37e-05/1.486e-05, allocations: 12.78 kB / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002114/0.002129, allocations: 2.088 MB / 378.1 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.003557, allocations: 1.378 MB / 379.5 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.97e-05/0.003647, allocations: 7.938 kB / 379.5 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.799e-05/0.003695, allocations: 19.73 kB / 379.5 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.003796, allocations: 39.66 kB / 379.6 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004396/0.004235, allocations: 203 kB / 379.8 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.00442, allocations: 188 kB / 379.9 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.004595, allocations: 76.14 kB / 380 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.004779, allocations: 111.8 kB / 380.1 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.772e-05/0.004856, allocations: 67.72 kB / 380.2 MB, free: 480 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.004879, allocations: 16 kB / 380.2 MB, free: 464 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000225/0.005104, allocations: 151.7 kB / 380.4 MB, free: 312 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.387e-05/0.005128, allocations: 39.84 kB / 380.4 MB, free: 272 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.488e-05/0.005173, allocations: 67.75 kB / 380.5 MB, free: 204 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.005463, allocations: 290.8 kB / 380.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.005465, allocations: 0 / 380.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.005465, allocations: 4 kB / 380.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.005469, allocations: 0 / 380.7 MB, free: 15.91 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.0004224/0.005892, allocations: 0.5467 MB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.005928, allocations: 8.031 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005656/0.006494, allocations: 167.7 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.00666, allocations: 160.2 kB / 381.6 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.00668, allocations: 25.03 kB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.006701, allocations: 32.38 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.006913, allocations: 179.4 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.006924, allocations: 192 / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.006941, allocations: 12.38 kB / 381.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.006952, allocations: 7.938 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.00708, allocations: 103.8 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005749/0.007655, allocations: 0.539 MB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.007957, allocations: 180.4 kB / 382.7 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.64e-05/0.008023, allocations: 56.11 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.008041, allocations: 4.234 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.00806, allocations: 37.62 kB / 382.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.483e-06/0.008062, allocations: 0 / 382.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002528/0.008315, allocations: 182.6 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.008341, allocations: 55.39 kB / 383 MB, free: 13.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.008445, allocations: 165.9 kB / 383.2 MB, free: 13.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.00846, allocations: 29.7 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.335e-05/0.008513, allocations: 183.4 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.149e-05/0.008564, allocations: 95.16 kB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/0.008609, allocations: 51.36 kB / 383.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.844e-05/0.008708, allocations: 0.4961 MB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.798e-05/0.008746, allocations: 23.98 kB / 384.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.53e-05/0.008781, allocations: 27.98 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.325e-05/0.008874, allocations: 93.06 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.008879, allocations: 7.938 kB / 384.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001512/0.00903, allocations: 149.5 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.009045, allocations: 5.562 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.009049, allocations: 0 / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.009065, allocations: 7.938 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.009259, allocations: 95.88 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.009264, allocations: 8 kB / 384.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.321e-05/0.009297, allocations: 15.89 kB / 384.5 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.009307, allocations: 8 kB / 384.5 MB, free: 11.99 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.897e-05/0.009386, allocations: 160.6 kB / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.009412, allocations: 19.94 kB / 384.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.487e-05/0.009447, allocations: 33.56 kB / 384.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.00945, allocations: 3.938 kB / 384.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.009456, allocations: 4 kB / 384.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.00946, allocations: 0 / 384.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.009622, allocations: 180.5 kB / 384.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.009624, allocations: 4 kB / 384.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.009793, allocations: 99.94 kB / 385 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.009794, allocations: 0 / 385 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.009807, allocations: 8.25 kB / 385 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.009808, allocations: 0 / 385 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.009812, allocations: 7.938 kB / 385 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.009998, allocations: 303.7 kB / 385.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.007e-05/0.01001, allocations: 15.89 kB / 385.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.01002, allocations: 8 kB / 385.3 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.113e-05/0.01006, allocations: 4 kB / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.0101, allocations: 19.91 kB / 385.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.01011, allocations: 8 kB / 385.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.275e-05/0.01014, allocations: 127.2 kB / 385.4 MB, free: 10.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01014, allocations: 0 / 385.4 MB, free: 10.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001743/0.01031, allocations: 59.84 kB / 385.5 MB, free: 10.88 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.099e-05/0.01039, allocations: 99.19 kB / 385.6 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001652/0.01055, allocations: 119.9 kB / 385.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.01055, allocations: 0 / 385.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.667e-05/0.01061, allocations: 67.59 kB / 385.8 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.01079, allocations: 12 kB / 385.8 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000482/0.01127, allocations: 438.6 kB / 386.2 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.403e-05/0.01132, allocations: 79.83 kB / 386.3 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.189e-05/0.01138, allocations: 21.47 kB / 386.3 MB, free: 9.992 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/0.01141, allocations: 16.5 kB / 386.3 MB, free: 9.977 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01141, allocations: 0 / 386.3 MB, free: 9.977 MB / 362.7 MB Notification: Performance of Templates: time 0.002749/0.01416, allocations: 1.031 MB / 387.4 MB, free: 8.965 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.9988880418241024]