Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001604/0.001603, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.032/2.032, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001172/0.001171, allocations: 90.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2783/0.2783, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.907e-05/3.951e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1134, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4748/0.5883, allocations: 87.85 MB / 0.5586 GB, free: 15.76 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.5886, allocations: 77.92 kB / 0.5587 GB, free: 15.72 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02694/0.6156, allocations: 6.011 MB / 0.5645 GB, free: 10.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6156, allocations: 4 kB / 0.5645 GB, free: 10.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.562e-05/0.6156, allocations: 0 / 0.5645 GB, free: 10.9 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006017/0.6163, allocations: 393.2 kB / 0.5649 GB, free: 10.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.6163, allocations: 8.031 kB / 0.5649 GB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.77e-05/0.6164, allocations: 7.906 kB / 0.5649 GB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/0.6168, allocations: 218.4 kB / 0.5651 GB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.6169, allocations: 7.922 kB / 0.5652 GB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.513e-05/0.6169, allocations: 4 kB / 0.5652 GB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.6171, allocations: 78.08 kB / 0.5652 GB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.6171, allocations: 4 kB / 0.5652 GB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.6172, allocations: 0 / 0.5652 GB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.6172, allocations: 0 / 0.5652 GB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.6173, allocations: 35.41 kB / 0.5653 GB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005318/0.6179, allocations: 301.8 kB / 0.5656 GB, free: 9.773 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.6181, allocations: 69.19 kB / 0.5656 GB, free: 9.711 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.569e-05/0.6182, allocations: 28.11 kB / 0.5656 GB, free: 9.688 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.6182, allocations: 4 kB / 0.5657 GB, free: 9.684 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.6184, allocations: 78.12 kB / 0.5657 GB, free: 9.605 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.655e-06/0.6185, allocations: 0 / 0.5657 GB, free: 9.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006902/0.6192, allocations: 181.3 kB / 0.5659 GB, free: 9.449 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/0.6192, allocations: 77.11 kB / 0.566 GB, free: 9.355 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.6195, allocations: 159.4 kB / 0.5661 GB, free: 9.207 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.6195, allocations: 29.7 kB / 0.5662 GB, free: 9.172 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.894e-05/0.6196, allocations: 165.7 kB / 0.5663 GB, free: 9.016 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.6197, allocations: 23.58 kB / 0.5663 GB, free: 8.996 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-06/0.6197, allocations: 3.062 kB / 0.5663 GB, free: 8.996 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6198, allocations: 314.9 kB / 0.5666 GB, free: 8.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.579e-05/0.6199, allocations: 26.81 kB / 0.5667 GB, free: 8.664 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.62, allocations: 49.38 kB / 0.5667 GB, free: 8.617 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.91e-05/0.6202, allocations: 31.2 kB / 0.5667 GB, free: 8.594 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.6202, allocations: 0 / 0.5667 GB, free: 8.594 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002792/0.6205, allocations: 102.5 kB / 0.5668 GB, free: 8.508 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.6205, allocations: 8 kB / 0.5668 GB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.6205, allocations: 0 / 0.5668 GB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.6205, allocations: 0 / 0.5668 GB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.6207, allocations: 19.94 kB / 0.5669 GB, free: 8.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.6208, allocations: 7.891 kB / 0.5669 GB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.6209, allocations: 15.89 kB / 0.5669 GB, free: 8.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.6209, allocations: 4 kB / 0.5669 GB, free: 8.457 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.631e-05/0.621, allocations: 108.7 kB / 0.567 GB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.908e-05/0.6211, allocations: 11.81 kB / 0.567 GB, free: 8.336 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003988/0.6215, allocations: 137.2 kB / 0.5671 GB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.6215, allocations: 4 kB / 0.5671 GB, free: 8.219 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.6215, allocations: 0 / 0.5671 GB, free: 8.219 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.6215, allocations: 3.953 kB / 0.5671 GB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006985/0.6222, allocations: 428.2 kB / 0.5676 GB, free: 7.785 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.6223, allocations: 4 kB / 0.5676 GB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.6224, allocations: 11.98 kB / 0.5676 GB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.6224, allocations: 7.938 kB / 0.5676 GB, free: 7.762 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.6224, allocations: 7.266 kB / 0.5676 GB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.6225, allocations: 4 kB / 0.5676 GB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.6225, allocations: 3.938 kB / 0.5676 GB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003644/0.6228, allocations: 234.8 kB / 0.5678 GB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.921e-05/0.6229, allocations: 88.33 kB / 0.5679 GB, free: 7.414 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.4e-05/0.623, allocations: 15.81 kB / 0.5679 GB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.6231, allocations: 4 kB / 0.5679 GB, free: 7.398 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.6232, allocations: 7.984 kB / 0.5679 GB, free: 7.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.6232, allocations: 7.75 kB / 0.5679 GB, free: 7.387 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001636/0.6234, allocations: 133.6 kB / 0.5681 GB, free: 7.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6234, allocations: 0 / 0.5681 GB, free: 7.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000399/0.6238, allocations: 43.11 kB / 0.5681 GB, free: 7.234 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001426/0.6253, allocations: 466.2 kB / 0.5685 GB, free: 6.828 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002932/0.6256, allocations: 73.36 kB / 0.5686 GB, free: 6.777 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6256, allocations: 4 kB / 0.5686 GB, free: 6.773 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.6257, allocations: 37.69 kB / 0.5687 GB, free: 6.746 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.6262, allocations: 32.53 kB / 0.5687 GB, free: 6.723 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005184/0.6267, allocations: 183.3 kB / 0.5689 GB, free: 6.523 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.6271, allocations: 0.7004 MB / 0.5695 GB, free: 5.797 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.955e-05/0.6272, allocations: 27.23 kB / 0.5696 GB, free: 5.773 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6272, allocations: 3.938 kB / 0.5696 GB, free: 5.77 MB / 378.7 MB Notification: Performance of Templates: time 0.006307/0.6335, allocations: 2.192 MB / 0.5717 GB, free: 3.59 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches