Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001035/0.001035, allocations: 91.5 kB / 21.19 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001707/0.001707, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9643/0.9643, allocations: 177 MB / 204.8 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2826/0.2826, allocations: 34.87 MB / 296.3 MB, free: 472 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.ConversionBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.755e-05/1.901e-05, allocations: 3.578 kB / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002733/0.002752, allocations: 2.093 MB / 380.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.004462, allocations: 1.367 MB / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.708e-05/0.004559, allocations: 4 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 5.781e-05/0.004617, allocations: 27.66 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.004731, allocations: 39.66 kB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000462/0.005193, allocations: 207 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.005396, allocations: 180 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.005573, allocations: 74.34 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.005757, allocations: 119.7 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.749e-05/0.005834, allocations: 67.72 kB / 383 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.00586, allocations: 16 kB / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002214/0.006082, allocations: 151.7 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.061e-05/0.006112, allocations: 43.83 kB / 383.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.161e-05/0.006164, allocations: 59.83 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003263/0.00649, allocations: 294.7 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.006492, allocations: 0 / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.006493, allocations: 0 / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.006497, allocations: 0 / 383.5 MB, free: 13.3 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.0005029/0.007, allocations: 0.5545 MB / 384.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.007037, allocations: 8.031 kB / 384.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007523/0.007789, allocations: 171.7 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.007979, allocations: 160.3 kB / 384.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.008003, allocations: 21.03 kB / 384.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.008029, allocations: 24.38 kB / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.008292, allocations: 183.3 kB / 384.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.008303, allocations: 192 / 384.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.008324, allocations: 12.38 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.008336, allocations: 11.94 kB / 384.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.008487, allocations: 99.84 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006823/0.009169, allocations: 0.5312 MB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003642/0.009533, allocations: 188.4 kB / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.258e-05/0.009606, allocations: 44.14 kB / 385.5 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.009627, allocations: 8.234 kB / 385.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.009653, allocations: 45.56 kB / 385.5 MB, free: 11.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.593e-06/0.009655, allocations: 0 / 385.5 MB, free: 11.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003194/0.009974, allocations: 183.8 kB / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.01001, allocations: 55.41 kB / 385.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.452e-05/0.01008, allocations: 161.9 kB / 385.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.0101, allocations: 33.7 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.706e-05/0.01017, allocations: 183.4 kB / 386.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.054e-05/0.01023, allocations: 91.17 kB / 386.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.737e-05/0.01028, allocations: 51.36 kB / 386.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.01041, allocations: 0.4923 MB / 386.8 MB, free: 9.824 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.666e-05/0.01046, allocations: 23.98 kB / 386.8 MB, free: 9.801 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.911e-05/0.01051, allocations: 35.95 kB / 386.8 MB, free: 9.766 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.01062, allocations: 89.03 kB / 386.9 MB, free: 9.676 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01063, allocations: 0 / 386.9 MB, free: 9.676 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001827/0.01081, allocations: 149.5 kB / 387.1 MB, free: 9.523 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.01082, allocations: 4 kB / 387.1 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.01083, allocations: 4 kB / 387.1 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.01084, allocations: 7.938 kB / 387.1 MB, free: 9.508 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.01109, allocations: 99.89 kB / 387.2 MB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.01109, allocations: 3.938 kB / 387.2 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.215e-05/0.01113, allocations: 19.88 kB / 387.2 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.01114, allocations: 4 kB / 387.2 MB, free: 9.383 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 8.182e-05/0.01123, allocations: 168.5 kB / 387.4 MB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.01126, allocations: 23.95 kB / 387.4 MB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/0.0113, allocations: 21.62 kB / 387.4 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.0113, allocations: 7.938 kB / 387.4 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.01131, allocations: 0 / 387.4 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.01131, allocations: 3.984 kB / 387.4 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.01149, allocations: 184.5 kB / 387.6 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01149, allocations: 0 / 387.6 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.01173, allocations: 103.9 kB / 387.7 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.01173, allocations: 4 kB / 387.7 MB, free: 8.836 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.01174, allocations: 4 kB / 387.7 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.01174, allocations: 0 / 387.7 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.01174, allocations: 3.938 kB / 387.7 MB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.01196, allocations: 303.8 kB / 388 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.22e-05/0.01197, allocations: 11.89 kB / 388 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.01199, allocations: 11.98 kB / 388 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.965e-05/0.01205, allocations: 256 / 388 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.01209, allocations: 23.91 kB / 388.1 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.0121, allocations: 12 kB / 388.1 MB, free: 8.453 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.778e-05/0.01214, allocations: 127.2 kB / 388.2 MB, free: 8.328 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01214, allocations: 0 / 388.2 MB, free: 8.328 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002556/0.01239, allocations: 59.84 kB / 388.3 MB, free: 8.27 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.454e-05/0.01247, allocations: 99.17 kB / 388.4 MB, free: 8.164 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001826/0.01265, allocations: 108 kB / 388.5 MB, free: 8.055 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.01265, allocations: 0 / 388.5 MB, free: 8.055 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.721e-05/0.01273, allocations: 71.58 kB / 388.5 MB, free: 7.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.01298, allocations: 15.98 kB / 388.6 MB, free: 7.965 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005834/0.01357, allocations: 442.6 kB / 389 MB, free: 7.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.693e-05/0.01362, allocations: 75.84 kB / 389.1 MB, free: 7.406 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.55e-05/0.0137, allocations: 21.47 kB / 389.1 MB, free: 7.383 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.26e-05/0.01374, allocations: 20.48 kB / 389.1 MB, free: 7.363 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01374, allocations: 0 / 389.1 MB, free: 7.363 MB / 362.7 MB Notification: Performance of Templates: time 0.003194/0.01694, allocations: 1.024 MB / 390.1 MB, free: 6.355 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.2122698635794222]