Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001453/0.001454, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002502/0.002502, allocations: 214.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2981/0.2981, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 75.88 kB / 482.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3613, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003014/0.3644, allocations: 1.738 MB / 0.5334 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.366, allocations: 1.026 MB / 0.5344 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.232e-05/0.3661, allocations: 0 / 0.5344 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.3664, allocations: 45.52 kB / 0.5345 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003043/0.3667, allocations: 95.09 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.3669, allocations: 78.91 kB / 0.5346 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.3671, allocations: 106.3 kB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.962e-05/0.3672, allocations: 10.88 kB / 0.5348 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.733e-05/0.3673, allocations: 44.28 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.473e-05/0.3674, allocations: 41.34 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.3674, allocations: 4.125 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.387e-05/0.3675, allocations: 40.86 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.021e-05/0.3676, allocations: 22.78 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.888e-05/0.3676, allocations: 32 kB / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.3678, allocations: 127.4 kB / 0.5351 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3678, allocations: 0 / 0.5351 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3678, allocations: 4 kB / 0.5351 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.3679, allocations: 1.375 kB / 0.5351 GB, free: 11.03 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.0005435/0.3684, allocations: 419 kB / 0.5355 GB, free: 10.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3684, allocations: 13.56 kB / 0.5355 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.165e-05/0.3685, allocations: 18.23 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.3688, allocations: 216.5 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.3688, allocations: 5.75 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.3688, allocations: 6.875 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.369, allocations: 58.05 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.369, allocations: 0 / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.369, allocations: 0 / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.369, allocations: 1.375 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.72e-05/0.3691, allocations: 22.92 kB / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003798/0.3695, allocations: 283.8 kB / 0.5361 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.3697, allocations: 61.2 kB / 0.5361 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.43e-05/0.3698, allocations: 17.42 kB / 0.5361 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.3698, allocations: 1.062 kB / 0.5361 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.37, allocations: 73.5 kB / 0.5362 GB, free: 9.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.737e-06/0.37, allocations: 0 / 0.5362 GB, free: 9.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005465/0.3705, allocations: 174.7 kB / 0.5364 GB, free: 9.746 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.3706, allocations: 56.19 kB / 0.5364 GB, free: 9.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.3708, allocations: 211.8 kB / 0.5366 GB, free: 9.527 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.3708, allocations: 26.89 kB / 0.5367 GB, free: 9.496 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.189e-05/0.3709, allocations: 105.8 kB / 0.5368 GB, free: 9.395 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.3709, allocations: 28.11 kB / 0.5368 GB, free: 9.371 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/0.371, allocations: 24.33 kB / 0.5368 GB, free: 9.348 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.3711, allocations: 326.2 kB / 0.5371 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.13e-05/0.3712, allocations: 23.44 kB / 0.5371 GB, free: 9.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.58e-05/0.3713, allocations: 35.42 kB / 0.5372 GB, free: 8.984 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.3714, allocations: 62.36 kB / 0.5372 GB, free: 8.941 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3714, allocations: 1.125 kB / 0.5372 GB, free: 8.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001823/0.3716, allocations: 95.28 kB / 0.5373 GB, free: 8.883 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3716, allocations: 9.609 kB / 0.5373 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3716, allocations: 1.219 kB / 0.5373 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3716, allocations: 5.219 kB / 0.5373 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.971e-05/0.3717, allocations: 24.92 kB / 0.5374 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.3717, allocations: 1.25 kB / 0.5374 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.825e-05/0.3718, allocations: 9.109 kB / 0.5374 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.3718, allocations: 7.531 kB / 0.5374 GB, free: 8.852 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 0.0001057/0.3719, allocations: 120.2 kB / 0.5375 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.372, allocations: 9.656 kB / 0.5375 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.674e-05/0.372, allocations: 26.98 kB / 0.5375 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.372, allocations: 4 kB / 0.5375 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.372, allocations: 0 / 0.5375 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/0.3721, allocations: 88.48 kB / 0.5376 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.3721, allocations: 5.031 kB / 0.5376 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.261e-05/0.3722, allocations: 6.109 kB / 0.5376 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.3722, allocations: 3.25 kB / 0.5376 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002253/0.3724, allocations: 180.2 kB / 0.5378 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002525/0.3727, allocations: 274.4 kB / 0.5381 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.275e-05/0.3728, allocations: 30.52 kB / 0.5381 GB, free: 8.188 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001356/0.3729, allocations: 158.1 kB / 0.5382 GB, free: 8.078 MB / 398.1 MB Notification: Performance of Backend: time 3.51e-07/0.3729, allocations: 2.125 kB / 0.5382 GB, free: 8.078 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001394/0.3743, allocations: 496.3 kB / 0.5387 GB, free: 7.84 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006716/0.375, allocations: 0.6678 MB / 0.5394 GB, free: 7.195 MB / 398.1 MB Notification: Performance of Templates: time 0.004967/0.38, allocations: 1.804 MB / 0.5411 GB, free: 6.285 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches