Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001267/0.001273, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001442/0.001442, allocations: 199.8 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2414/0.2414, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 76.16 kB / 481.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4373/0.4386, allocations: 62.43 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003689/0.4424, allocations: 1.738 MB / 0.5328 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002554/0.445, allocations: 1.622 MB / 0.5344 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.4451, allocations: 1.375 kB / 0.5344 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003822/0.4455, allocations: 41.39 kB / 0.5344 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003964/0.4459, allocations: 99.03 kB / 0.5345 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.4462, allocations: 80.28 kB / 0.5346 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.4464, allocations: 105.8 kB / 0.5347 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.4465, allocations: 6.594 kB / 0.5347 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.4467, allocations: 53.52 kB / 0.5347 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.4468, allocations: 43.09 kB / 0.5348 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.4469, allocations: 4.156 kB / 0.5348 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002319/0.4471, allocations: 119 kB / 0.5349 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.646e-05/0.4472, allocations: 17.11 kB / 0.5349 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.885e-05/0.4472, allocations: 32.33 kB / 0.5349 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003283/0.4476, allocations: 169.7 kB / 0.5351 GB, free: 10.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4476, allocations: 1.094 kB / 0.5351 GB, free: 10.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4476, allocations: 0 / 0.5351 GB, free: 10.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.4476, allocations: 0 / 0.5351 GB, free: 10.49 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007041/0.4483, allocations: 432.6 kB / 0.5355 GB, free: 10.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.4484, allocations: 13.2 kB / 0.5355 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.809e-05/0.4484, allocations: 9.25 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.4488, allocations: 215.9 kB / 0.5357 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.4488, allocations: 5.188 kB / 0.5357 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.4489, allocations: 2.25 kB / 0.5357 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.449, allocations: 70.58 kB / 0.5358 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.4491, allocations: 4 kB / 0.5358 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.4491, allocations: 1.094 kB / 0.5358 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.4491, allocations: 5.062 kB / 0.5358 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.419e-05/0.4492, allocations: 22.11 kB / 0.5358 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.4497, allocations: 285.3 kB / 0.5361 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.4498, allocations: 50.22 kB / 0.5362 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.814e-05/0.4499, allocations: 33.72 kB / 0.5362 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.4499, allocations: 1.188 kB / 0.5362 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001343/0.4501, allocations: 65.2 kB / 0.5363 GB, free: 9.289 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.4501, allocations: 0 / 0.5363 GB, free: 9.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005642/0.4507, allocations: 169.7 kB / 0.5364 GB, free: 9.191 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.4507, allocations: 82.14 kB / 0.5365 GB, free: 9.094 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.4509, allocations: 166.3 kB / 0.5367 GB, free: 8.957 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.4509, allocations: 34.89 kB / 0.5367 GB, free: 8.918 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.451, allocations: 99.84 kB / 0.5368 GB, free: 8.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.451, allocations: 23.64 kB / 0.5368 GB, free: 8.801 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.4511, allocations: 29.27 kB / 0.5368 GB, free: 8.773 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.4512, allocations: 321.3 kB / 0.5371 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.557e-05/0.4513, allocations: 19.44 kB / 0.5372 GB, free: 8.445 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.307e-05/0.4513, allocations: 49.03 kB / 0.5372 GB, free: 8.402 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.4515, allocations: 59.92 kB / 0.5373 GB, free: 8.363 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4515, allocations: 0 / 0.5373 GB, free: 8.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001822/0.4517, allocations: 99.41 kB / 0.5374 GB, free: 8.301 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.4517, allocations: 8.234 kB / 0.5374 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.4517, allocations: 1.062 kB / 0.5374 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.4517, allocations: 1.375 kB / 0.5374 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-05/0.4518, allocations: 17.53 kB / 0.5374 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.4518, allocations: 3.938 kB / 0.5374 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.709e-05/0.4519, allocations: 3.406 kB / 0.5374 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.4519, allocations: 6.859 kB / 0.5374 GB, free: 8.285 MB / 398.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.788e-05/0.452, allocations: 123.3 kB / 0.5375 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.452, allocations: 13.34 kB / 0.5375 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.508e-05/0.4521, allocations: 16.02 kB / 0.5375 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.4521, allocations: 6.125 kB / 0.5375 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.4521, allocations: 7.938 kB / 0.5376 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4521, allocations: 192 / 0.5376 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004729/0.4526, allocations: 388.4 kB / 0.5379 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.4526, allocations: 8.906 kB / 0.5379 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.346e-05/0.4526, allocations: 11.62 kB / 0.5379 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.4526, allocations: 1.094 kB / 0.5379 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.4527, allocations: 1.062 kB / 0.5379 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4527, allocations: 1.062 kB / 0.5379 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4527, allocations: 1.094 kB / 0.5379 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.4529, allocations: 203.9 kB / 0.5381 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.885e-05/0.453, allocations: 88.98 kB / 0.5382 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.453, allocations: 5.062 kB / 0.5382 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.294e-05/0.4531, allocations: 6.375 kB / 0.5382 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.4531, allocations: 11.45 kB / 0.5382 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.4532, allocations: 3.312 kB / 0.5383 GB, free: 7.445 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.4533, allocations: 131.7 kB / 0.5384 GB, free: 7.344 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4533, allocations: 0 / 0.5384 GB, free: 7.344 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003283/0.4536, allocations: 49.73 kB / 0.5384 GB, free: 7.324 MB / 398.1 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001247/0.4549, allocations: 0.538 MB / 0.539 GB, free: 7.047 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.4551, allocations: 66.31 kB / 0.539 GB, free: 7.016 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4551, allocations: 0 / 0.539 GB, free: 7.016 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.305e-05/0.4552, allocations: 26.19 kB / 0.539 GB, free: 7.008 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.4555, allocations: 42.95 kB / 0.5391 GB, free: 6.984 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004086/0.4559, allocations: 195.8 kB / 0.5393 GB, free: 6.816 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.4562, allocations: 0.6977 MB / 0.5399 GB, free: 6.109 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.362e-05/0.4563, allocations: 15.47 kB / 0.54 GB, free: 6.098 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.576e-05/0.4563, allocations: 25.61 kB / 0.54 GB, free: 6.082 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4563, allocations: 0 / 0.54 GB, free: 6.082 MB / 398.1 MB Notification: Performance of Templates: time 0.005791/0.4621, allocations: 2.365 MB / 0.5423 GB, free: 4.863 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches