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.0007769/0.0007769, allocations: 80.11 kB / 9.934 MB, free: 0.75 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001042/0.001819, allocations: 449.7 kB / 10.37 MB, free: 320 kB / 10.45 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.0007179/0.0007179, allocations: 165.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009234/0.001641, allocations: 463.6 kB / 11.72 MB, free: 2.449 MB / 13.93 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.02/1.02, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1054/1.126, allocations: 53.86 MB / 243.7 MB, free: 14.9 MB / 250.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.2665/0.2665, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02837/0.2949, allocations: 13.23 MB / 292.6 MB, free: 6.473 MB / 282.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.563e-06/1.563e-06, allocations: 0 / 293.9 MB, free: 5.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.159e-05/1.316e-05, allocations: 8.359 kB / 293.9 MB, free: 5.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002661/0.002674, allocations: 2.133 MB / 296 MB, free: 3.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005885/0.00856, allocations: 1.402 MB / 297.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.731e-05/0.008657, allocations: 4 kB / 297.4 MB, free: 1.605 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.655e-05/0.008714, allocations: 23.67 kB / 297.5 MB, free: 1.582 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.881e-05/0.008802, allocations: 39.59 kB / 297.5 MB, free: 1.543 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.009196, allocations: 187.1 kB / 297.7 MB, free: 1.359 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.009387, allocations: 184 kB / 297.9 MB, free: 1.18 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.009557, allocations: 78.75 kB / 297.9 MB, free: 1.102 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.00975, allocations: 123.7 kB / 298.1 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.563e-05/0.009835, allocations: 63.72 kB / 298.1 MB, free: 0.918 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.009861, allocations: 16 kB / 298.1 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002648/0.01013, allocations: 167.7 kB / 298.3 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.306e-05/0.01016, allocations: 35.81 kB / 298.3 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.607e-05/0.0102, allocations: 51.88 kB / 298.4 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003343/0.01355, allocations: 258.9 kB / 298.6 MB, free: 408 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.455e-05/0.01356, allocations: 3.938 kB / 298.6 MB, free: 404 kB / 282.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.01356, allocations: 0 / 298.6 MB, free: 404 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.547e-05/0.01358, allocations: 0 / 298.6 MB, free: 404 kB / 282.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.0005154/0.01409, allocations: 493 kB / 299.1 MB, free: 15.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.01412, allocations: 12.03 kB / 299.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007643/0.01489, allocations: 257 kB / 299.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.01505, allocations: 145.5 kB / 299.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.01507, allocations: 17.03 kB / 299.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.0151, allocations: 28.38 kB / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.0153, allocations: 171.3 kB / 299.7 MB, free: 15.22 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.01531, allocations: 192 / 299.7 MB, free: 15.22 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.01532, allocations: 8.375 kB / 299.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.01533, allocations: 11.94 kB / 299.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.773e-05/0.01542, allocations: 68.55 kB / 299.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005531/0.01597, allocations: 413.1 kB / 300.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003368/0.01934, allocations: 167.9 kB / 300.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.909e-05/0.01941, allocations: 37.31 kB / 300.4 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.01943, allocations: 4.234 kB / 300.4 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.01945, allocations: 42.73 kB / 300.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.904e-06/0.01946, allocations: 0 / 300.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002022/0.01966, allocations: 131.9 kB / 300.6 MB, free: 14.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.01969, allocations: 59.39 kB / 300.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.965e-05/0.01975, allocations: 114.6 kB / 300.8 MB, free: 14.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.01977, allocations: 29.7 kB / 300.8 MB, free: 14.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.185e-05/0.01982, allocations: 140.6 kB / 300.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.742e-05/0.01988, allocations: 91.2 kB / 301 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.787e-05/0.01994, allocations: 45.69 kB / 301.1 MB, free: 13.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.41e-05/0.02002, allocations: 326.8 kB / 301.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.565e-05/0.02005, allocations: 16 kB / 301.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.009e-05/0.02008, allocations: 23.92 kB / 301.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.927e-05/0.02016, allocations: 78.17 kB / 301.5 MB, free: 13.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.02016, allocations: 0 / 301.5 MB, free: 13.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00012/0.02028, allocations: 105.6 kB / 301.6 MB, free: 13.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.02029, allocations: 8 kB / 301.6 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.0203, allocations: 0 / 301.6 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/0.02031, allocations: 0 / 301.6 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003777/0.02068, allocations: 139.8 kB / 301.8 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.02069, allocations: 11.94 kB / 301.8 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.841e-05/0.02073, allocations: 15.84 kB / 301.8 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.02074, allocations: 4 kB / 301.8 MB, free: 13.07 MB / 298.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.429e-05/0.02081, allocations: 121.8 kB / 301.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.02084, allocations: 15.98 kB / 301.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.659e-05/0.02088, allocations: 25.62 kB / 301.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.02088, allocations: 4 kB / 301.9 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.02088, allocations: 0 / 301.9 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.02089, allocations: 7.922 kB / 302 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.02105, allocations: 121.7 kB / 302.1 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.02106, allocations: 4 kB / 302.1 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003321/0.02139, allocations: 143.8 kB / 302.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.289e-05/0.0214, allocations: 11.89 kB / 302.2 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.0214, allocations: 3.938 kB / 302.2 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.02141, allocations: 0 / 302.2 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.02141, allocations: 4 kB / 302.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.02141, allocations: 0 / 302.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.02156, allocations: 211.4 kB / 302.4 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.02158, allocations: 4 kB / 302.4 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.13e-05/0.02164, allocations: 8 kB / 302.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.02167, allocations: 19.95 kB / 302.5 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.02168, allocations: 4 kB / 302.5 MB, free: 12.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.255e-05/0.0217, allocations: 17.11 kB / 302.5 MB, free: 12.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0217, allocations: 0 / 302.5 MB, free: 12.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001723/0.02187, allocations: 59.84 kB / 302.6 MB, free: 12.26 MB / 298.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 8.195e-05/0.02195, allocations: 88.28 kB / 302.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.02206, allocations: 81.22 kB / 302.7 MB, free: 12.08 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/0.02206, allocations: 7.984 kB / 302.7 MB, free: 12.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.314e-05/0.02212, allocations: 64.69 kB / 302.8 MB, free: 12.01 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.02227, allocations: 26.5 kB / 302.8 MB, free: 11.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00326/0.02553, allocations: 465.6 kB / 303.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.174e-05/0.02559, allocations: 83.77 kB / 303.4 MB, free: 11.4 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.767e-05/0.02569, allocations: 21.47 kB / 303.4 MB, free: 11.38 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.173e-05/0.02578, allocations: 67.38 kB / 303.4 MB, free: 11.31 MB / 298.7 MB Notification: Performance of SimCode: time 1.072e-06/0.02578, allocations: 0 / 303.4 MB, free: 11.31 MB / 298.7 MB Notification: Performance of Templates: time 0.003378/0.02916, allocations: 1.116 MB / 304.6 MB, free: 10.22 MB / 298.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 -ignoreHideResult -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.9468352273106575]