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.0009311/0.0009311, allocations: 85.8 kB / 21.42 MB, free: 3.066 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.001147/0.001147, allocations: 164.3 kB / 24.82 MB, free: 9.223 MB / 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 1.034/1.034, allocations: 177 MB / 205.1 MB, free: 5.457 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.2688/0.2688, allocations: 34.87 MB / 296.6 MB, free: 0.5117 MB / 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.552e-06/1.552e-06, allocations: 0 / 379.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.25e-05, allocations: 3.016 kB / 379.2 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003357/0.003379, allocations: 2.078 MB / 381.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.005485, allocations: 1.363 MB / 382.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.005617, allocations: 4 kB / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 7.96e-05/0.005697, allocations: 27.67 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.005846, allocations: 43.59 kB / 382.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006288/0.006475, allocations: 199 kB / 382.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002463/0.006721, allocations: 184 kB / 383.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.006927, allocations: 72.14 kB / 383.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002389/0.007166, allocations: 119.6 kB / 383.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.53e-05/0.007261, allocations: 67.72 kB / 383.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.00729, allocations: 20 kB / 383.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000292/0.007582, allocations: 155.7 kB / 383.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.169e-05/0.007624, allocations: 35.84 kB / 383.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.901e-05/0.007683, allocations: 67.81 kB / 383.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003838/0.008066, allocations: 286.7 kB / 383.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.00807, allocations: 0 / 383.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.008071, allocations: 0 / 383.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.008076, allocations: 0 / 383.9 MB, free: 13.09 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.0005503/0.008626, allocations: 0.5506 MB / 384.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.008667, allocations: 8.031 kB / 384.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008621/0.009529, allocations: 179.7 kB / 384.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.009742, allocations: 164.2 kB / 384.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.009765, allocations: 17.03 kB / 384.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.009796, allocations: 28.38 kB / 384.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.01004, allocations: 155.4 kB / 385 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.01005, allocations: 8.172 kB / 385 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.01006, allocations: 8.375 kB / 385 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.01008, allocations: 15.94 kB / 385.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.01019, allocations: 72.52 kB / 385.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007103/0.0109, allocations: 0.5122 MB / 385.6 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003505/0.01126, allocations: 182.5 kB / 385.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.034e-05/0.01132, allocations: 40.14 kB / 385.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.01134, allocations: 8.234 kB / 385.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.01137, allocations: 41.61 kB / 385.9 MB, free: 10.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.994e-06/0.01137, allocations: 0 / 385.9 MB, free: 10.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002844/0.01166, allocations: 151.9 kB / 386.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.01169, allocations: 59.34 kB / 386.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.339e-05/0.01177, allocations: 165.9 kB / 386.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.01179, allocations: 29.7 kB / 386.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.981e-05/0.01187, allocations: 187.4 kB / 386.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.116e-05/0.01194, allocations: 95.14 kB / 386.6 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.515e-05/0.01201, allocations: 47.36 kB / 386.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.01215, allocations: 0.4923 MB / 387.1 MB, free: 9.715 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.959e-05/0.01219, allocations: 19.97 kB / 387.1 MB, free: 9.695 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.277e-05/0.01223, allocations: 27.97 kB / 387.2 MB, free: 9.668 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.01234, allocations: 73.05 kB / 387.2 MB, free: 9.594 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01234, allocations: 0 / 387.2 MB, free: 9.594 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001956/0.01254, allocations: 137.5 kB / 387.4 MB, free: 9.453 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.01255, allocations: 4 kB / 387.4 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.01256, allocations: 4 kB / 387.4 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.01257, allocations: 4 kB / 387.4 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/0.01287, allocations: 99.94 kB / 387.5 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.01288, allocations: 7.875 kB / 387.5 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.118e-05/0.01293, allocations: 15.89 kB / 387.5 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.01294, allocations: 4 kB / 387.5 MB, free: 9.316 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 0.000103/0.01304, allocations: 168.5 kB / 387.7 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.353e-05/0.01309, allocations: 19.95 kB / 387.7 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.304e-05/0.01313, allocations: 21.62 kB / 387.7 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.01313, allocations: 4 kB / 387.7 MB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.01314, allocations: 3.938 kB / 387.7 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.01314, allocations: 3.984 kB / 387.7 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.01336, allocations: 161.1 kB / 387.9 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01336, allocations: 256 / 387.9 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/0.01364, allocations: 107.9 kB / 388 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.01365, allocations: 4 kB / 388 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.01366, allocations: 0 / 388 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.01366, allocations: 4 kB / 388 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.01366, allocations: 0 / 388 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.01392, allocations: 299.9 kB / 388.3 MB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.837e-05/0.01394, allocations: 11.89 kB / 388.3 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.01396, allocations: 7.984 kB / 388.3 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.666e-05/0.01404, allocations: 8 kB / 388.3 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.01407, allocations: 11.97 kB / 388.3 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.01408, allocations: 12 kB / 388.3 MB, free: 8.434 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.98e-05/0.01413, allocations: 123.2 kB / 388.5 MB, free: 8.312 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01413, allocations: 0 / 388.5 MB, free: 8.312 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003154/0.01445, allocations: 59.78 kB / 388.5 MB, free: 8.254 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 0.0001047/0.01455, allocations: 103.2 kB / 388.6 MB, free: 8.145 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001696/0.01472, allocations: 95.78 kB / 388.7 MB, free: 8.047 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01473, allocations: 0 / 388.7 MB, free: 8.047 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.738e-05/0.0148, allocations: 63.58 kB / 388.8 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.0002987/0.0151, allocations: 19.98 kB / 388.8 MB, free: 7.961 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006763/0.01578, allocations: 434.7 kB / 389.2 MB, free: 7.504 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.063e-05/0.01584, allocations: 71.84 kB / 389.3 MB, free: 7.414 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.01594, allocations: 29.39 kB / 389.3 MB, free: 7.383 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.703e-05/0.01604, allocations: 86.2 kB / 389.4 MB, free: 7.297 MB / 362.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01604, allocations: 0 / 389.4 MB, free: 7.297 MB / 362.7 MB Notification: Performance of Templates: time 0.004033/0.02007, allocations: 1.107 MB / 390.5 MB, free: 6.207 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: 2.969106853939593]