Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001658/0.001663, allocations: 198.3 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 226.5 MB / 243.4 MB, free: 6.355 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007995/0.0007993, allocations: 100.5 kB / 295.5 MB, free: 6.613 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3081/0.3081, allocations: 44.82 MB / 392.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004523/0.0004526, allocations: 8 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3497, allocations: 62.96 MB / 0.5159 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.001718/0.3515, allocations: 1.391 MB / 0.5172 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.3527, allocations: 0.9331 MB / 0.5182 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.02e-05/0.3527, allocations: 4 kB / 0.5182 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002954/0.353, allocations: 53.31 kB / 0.5182 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002152/0.3533, allocations: 80.66 kB / 0.5183 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/0.3535, allocations: 89.81 kB / 0.5184 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000137/0.3537, allocations: 93.42 kB / 0.5185 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.867e-05/0.3537, allocations: 6.781 kB / 0.5185 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.493e-05/0.3538, allocations: 38.56 kB / 0.5185 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.638e-05/0.3539, allocations: 37.67 kB / 0.5185 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.3539, allocations: 2.969 kB / 0.5185 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.264e-05/0.354, allocations: 25.97 kB / 0.5186 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.958e-05/0.354, allocations: 22.23 kB / 0.5186 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.153e-05/0.3541, allocations: 68.81 kB / 0.5187 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.3542, allocations: 97.5 kB / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3542, allocations: 0 / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3543, allocations: 0 / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.3543, allocations: 0 / 0.5187 GB, free: 35.27 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004556/0.3547, allocations: 415.5 kB / 0.5191 GB, free: 34.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3548, allocations: 8.875 kB / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.159e-05/0.3548, allocations: 10.75 kB / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.355, allocations: 221.4 kB / 0.5194 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.355, allocations: 3.344 kB / 0.5194 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.3551, allocations: 8.125 kB / 0.5194 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.3552, allocations: 52.62 kB / 0.5194 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.3552, allocations: 0 / 0.5194 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.3552, allocations: 7.688 kB / 0.5194 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3552, allocations: 0 / 0.5194 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.287e-05/0.3553, allocations: 8.891 kB / 0.5195 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.3555, allocations: 195.5 kB / 0.5196 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.3556, allocations: 58.2 kB / 0.5197 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.806e-05/0.3557, allocations: 21.81 kB / 0.5197 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.3557, allocations: 3 kB / 0.5197 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001681/0.3559, allocations: 65.27 kB / 0.5198 GB, free: 34.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 3.847e-06/0.3559, allocations: 3.938 kB / 0.5198 GB, free: 34.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002765/0.3562, allocations: 104.6 kB / 0.5199 GB, free: 34.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.3562, allocations: 55.41 kB / 0.5199 GB, free: 34.13 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.3565, allocations: 269 kB / 0.5202 GB, free: 33.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.3565, allocations: 32.8 kB / 0.5202 GB, free: 33.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.667e-05/0.3565, allocations: 113.2 kB / 0.5203 GB, free: 33.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.3566, allocations: 6.844 kB / 0.5203 GB, free: 33.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-06/0.3566, allocations: 4 kB / 0.5203 GB, free: 33.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.942e-05/0.3566, allocations: 327 kB / 0.5207 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.254e-05/0.3567, allocations: 9.781 kB / 0.5207 GB, free: 33.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.495e-05/0.3567, allocations: 41.12 kB / 0.5207 GB, free: 33.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.947e-05/0.3568, allocations: 38.23 kB / 0.5207 GB, free: 33.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3568, allocations: 0 / 0.5207 GB, free: 33.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00013/0.357, allocations: 92.91 kB / 0.5208 GB, free: 33.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.357, allocations: 2.906 kB / 0.5208 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.357, allocations: 6.141 kB / 0.5208 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.357, allocations: 4.031 kB / 0.5208 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.297e-05/0.3571, allocations: 8.844 kB / 0.5208 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3571, allocations: 0 / 0.5208 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.491e-05/0.3572, allocations: 6.875 kB / 0.5209 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.3572, allocations: 6.125 kB / 0.5209 GB, free: 33.39 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.188e-05/0.3573, allocations: 145.7 kB / 0.521 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.3573, allocations: 13.62 kB / 0.521 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.533e-05/0.3573, allocations: 21.2 kB / 0.521 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.3573, allocations: 0 / 0.521 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3573, allocations: 4 kB / 0.521 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3574, allocations: 2.844 kB / 0.521 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.3575, allocations: 202.2 kB / 0.5212 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3575, allocations: 0 / 0.5212 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.86e-05/0.3575, allocations: 5.406 kB / 0.5212 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.3575, allocations: 0 / 0.5212 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.3575, allocations: 0 / 0.5212 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3575, allocations: 320 / 0.5212 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3575, allocations: 6.672 kB / 0.5212 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.3577, allocations: 120.3 kB / 0.5214 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.3577, allocations: 93.83 kB / 0.5214 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.3578, allocations: 0 / 0.5214 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.742e-05/0.3578, allocations: 6.625 kB / 0.5215 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.3578, allocations: 6.406 kB / 0.5215 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.3579, allocations: 4 kB / 0.5215 GB, free: 32.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001262/0.358, allocations: 200.5 kB / 0.5217 GB, free: 32.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.358, allocations: 0 / 0.5217 GB, free: 32.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001987/0.3582, allocations: 29.81 kB / 0.5217 GB, free: 32.7 MB / 378.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008106/0.359, allocations: 401.1 kB / 0.5221 GB, free: 32.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001319/0.3592, allocations: 34.06 kB / 0.5221 GB, free: 32.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3592, allocations: 0 / 0.5221 GB, free: 32.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.281e-05/0.3592, allocations: 26.84 kB / 0.5221 GB, free: 32.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.3595, allocations: 30.06 kB / 0.5222 GB, free: 32.47 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004009/0.3599, allocations: 316.3 kB / 0.5225 GB, free: 32.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.36, allocations: 0.7135 MB / 0.5232 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.99e-05/0.3601, allocations: 17.56 kB / 0.5232 GB, free: 31.53 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3601, allocations: 0 / 0.5232 GB, free: 31.53 MB / 378.7 MB Notification: Performance of Templates: time 0.002976/0.3631, allocations: 1.867 MB / 0.525 GB, free: 31.32 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches