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.001198/0.001198, 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.00135/0.00135, 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 1.019/1.019, allocations: 177 MB / 204.8 MB, free: 5.238 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.2876/0.2876, allocations: 34.86 MB / 296.3 MB, free: 0.4961 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.593e-06/1.593e-06, allocations: 0 / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/2.828e-05, allocations: 7.094 kB / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.007477/0.007505, allocations: 2.09 MB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005175/0.01268, allocations: 1.363 MB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.0128, allocations: 4 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 5.443e-05/0.01286, allocations: 35.59 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.01297, allocations: 35.66 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005528/0.01352, allocations: 207 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.01372, allocations: 180 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.01388, allocations: 76.09 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.01403, allocations: 115.7 kB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003085/0.01712, allocations: 67.72 kB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.01714, allocations: 16 kB / 383 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003222/0.01747, allocations: 151.7 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.52e-05/0.0175, allocations: 51.81 kB / 383.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.721e-05/0.01756, allocations: 59.78 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000396/0.01795, allocations: 286.8 kB / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.01796, allocations: 0 / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01796, allocations: 0 / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.01796, allocations: 4 kB / 383.5 MB, free: 13.31 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.0005446/0.01851, allocations: 0.5467 MB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.01854, allocations: 12.03 kB / 384.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007759/0.01931, allocations: 171.7 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.01947, allocations: 164.2 kB / 384.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.01949, allocations: 17.03 kB / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.01951, allocations: 32.38 kB / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.01975, allocations: 175.4 kB / 384.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.01976, allocations: 192 / 384.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.01978, allocations: 8.375 kB / 384.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/0.0198, allocations: 15.94 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.01995, allocations: 95.84 kB / 384.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003657/0.0236, allocations: 0.539 MB / 385.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003781/0.02398, allocations: 190.5 kB / 385.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.648e-05/0.02406, allocations: 56.14 kB / 385.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.02408, allocations: 4.234 kB / 385.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.0241, allocations: 37.62 kB / 385.5 MB, free: 11.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.302e-06/0.0241, allocations: 0 / 385.5 MB, free: 11.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003107/0.02441, allocations: 175.9 kB / 385.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.02444, allocations: 59.34 kB / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.545e-05/0.02451, allocations: 165.9 kB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.02453, allocations: 29.7 kB / 386 MB, free: 10.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.638e-05/0.0246, allocations: 179.4 kB / 386.1 MB, free: 10.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.272e-05/0.02466, allocations: 95.17 kB / 386.2 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.973e-05/0.02472, allocations: 51.36 kB / 386.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.02485, allocations: 0.4923 MB / 386.8 MB, free: 9.836 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.354e-05/0.0249, allocations: 27.98 kB / 386.8 MB, free: 9.809 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.016e-05/0.02495, allocations: 39.89 kB / 386.8 MB, free: 9.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.02507, allocations: 85.08 kB / 386.9 MB, free: 9.684 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.02508, allocations: 3.984 kB / 386.9 MB, free: 9.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001781/0.02525, allocations: 149.6 kB / 387.1 MB, free: 9.527 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.02527, allocations: 10.28 kB / 387.1 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.02527, allocations: 0 / 387.1 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.02529, allocations: 3.938 kB / 387.1 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.02555, allocations: 95.95 kB / 387.2 MB, free: 9.422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.02555, allocations: 3.984 kB / 387.2 MB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.202e-05/0.02559, allocations: 15.89 kB / 387.2 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002083/0.0258, allocations: 8 kB / 387.2 MB, free: 9.395 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.003109/0.02891, allocations: 164.5 kB / 387.4 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.989e-05/0.02895, allocations: 19.95 kB / 387.4 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.072e-05/0.02899, allocations: 21.62 kB / 387.4 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.029, allocations: 11.94 kB / 387.4 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.029, allocations: 0 / 387.4 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.02901, allocations: 3.984 kB / 387.4 MB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.02921, allocations: 184.5 kB / 387.6 MB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.02921, allocations: 3.984 kB / 387.6 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.02946, allocations: 99.89 kB / 387.7 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.02946, allocations: 0 / 387.7 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.02947, allocations: 8 kB / 387.7 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.02947, allocations: 4 kB / 387.7 MB, free: 8.844 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.02948, allocations: 4.188 kB / 387.7 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.02972, allocations: 307.7 kB / 388 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.434e-05/0.02973, allocations: 15.88 kB / 388 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.02975, allocations: 8 kB / 388 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.828e-05/0.02982, allocations: 8 kB / 388.1 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.02986, allocations: 15.91 kB / 388.1 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.02987, allocations: 8 kB / 388.1 MB, free: 8.465 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.011e-05/0.02991, allocations: 127.2 kB / 388.2 MB, free: 8.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02991, allocations: 4 kB / 388.2 MB, free: 8.336 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002824/0.03019, allocations: 55.84 kB / 388.3 MB, free: 8.281 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 9.394e-05/0.03029, allocations: 99.23 kB / 388.4 MB, free: 8.176 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.03048, allocations: 104 kB / 388.5 MB, free: 8.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.03048, allocations: 0 / 388.5 MB, free: 8.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.263e-05/0.03056, allocations: 83.44 kB / 388.5 MB, free: 7.984 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.03084, allocations: 16 kB / 388.6 MB, free: 7.969 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006151/0.03145, allocations: 438.7 kB / 389 MB, free: 7.508 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.33e-05/0.03151, allocations: 75.83 kB / 389.1 MB, free: 7.414 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.805e-05/0.03158, allocations: 17.47 kB / 389.1 MB, free: 7.395 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/0.03163, allocations: 20.5 kB / 389.1 MB, free: 7.375 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.03163, allocations: 0 / 389.1 MB, free: 7.375 MB / 362.7 MB Notification: Performance of Templates: time 0.005929/0.03756, allocations: 0.9927 MB / 390.1 MB, free: 6.398 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.3135316148400307]