Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001555/0.001555, allocations: 112.7 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001652/0.001653, allocations: 206.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, 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.2116/0.2116, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002282/0.002282, allocations: 76.11 kB / 482.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3465, allocations: 62.44 MB / 0.5318 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.00312/0.3497, allocations: 1.745 MB / 0.5335 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.3513, allocations: 1.026 MB / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.797e-05/0.3515, allocations: 5.312 kB / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.3517, allocations: 94.12 kB / 0.5346 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000358/0.3521, allocations: 120.8 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.3524, allocations: 74.92 kB / 0.5348 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.3526, allocations: 120 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.862e-05/0.3527, allocations: 24.17 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.3528, allocations: 55.14 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.3529, allocations: 68.44 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.3529, allocations: 8.5 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.3531, allocations: 57.56 kB / 0.5351 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.701e-05/0.3531, allocations: 30.08 kB / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.138e-05/0.3532, allocations: 37.17 kB / 0.5351 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.3534, allocations: 142.5 kB / 0.5353 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3534, allocations: 0 / 0.5353 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.387e-06/0.3534, allocations: 3.938 kB / 0.5353 GB, free: 10.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.3535, allocations: 9.312 kB / 0.5353 GB, free: 10.92 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005559/0.354, allocations: 435.3 kB / 0.5357 GB, free: 10.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.3541, allocations: 9.062 kB / 0.5357 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.174e-05/0.3541, allocations: 10.69 kB / 0.5357 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.3544, allocations: 224.1 kB / 0.5359 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.3544, allocations: 1.562 kB / 0.5359 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.3545, allocations: 7.438 kB / 0.5359 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.3546, allocations: 64.31 kB / 0.536 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3546, allocations: 5 kB / 0.536 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.3547, allocations: 4 kB / 0.536 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3547, allocations: 1.125 kB / 0.536 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.67e-05/0.3548, allocations: 20.48 kB / 0.536 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.3552, allocations: 306.1 kB / 0.5363 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.3554, allocations: 65.11 kB / 0.5364 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.858e-05/0.3555, allocations: 26.06 kB / 0.5364 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.3555, allocations: 1.156 kB / 0.5364 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.3557, allocations: 67.36 kB / 0.5365 GB, free: 9.715 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.783e-06/0.3557, allocations: 0 / 0.5365 GB, free: 9.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007615/0.3564, allocations: 250.6 kB / 0.5367 GB, free: 9.574 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.3565, allocations: 56.56 kB / 0.5368 GB, free: 9.508 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.3567, allocations: 236.2 kB / 0.537 GB, free: 9.348 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.3568, allocations: 30.92 kB / 0.537 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.1e-05/0.3568, allocations: 106.9 kB / 0.5371 GB, free: 9.211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.3569, allocations: 40.67 kB / 0.5372 GB, free: 9.176 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/0.3569, allocations: 22.5 kB / 0.5372 GB, free: 9.156 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.3571, allocations: 327 kB / 0.5375 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.447e-05/0.3571, allocations: 30.64 kB / 0.5375 GB, free: 8.816 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.716e-05/0.3572, allocations: 55.08 kB / 0.5376 GB, free: 8.777 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.3574, allocations: 73.08 kB / 0.5376 GB, free: 8.734 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3574, allocations: 0 / 0.5376 GB, free: 8.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002329/0.3576, allocations: 138.4 kB / 0.5378 GB, free: 8.648 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3576, allocations: 5.156 kB / 0.5378 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3577, allocations: 1.438 kB / 0.5378 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.3577, allocations: 4.031 kB / 0.5378 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.556e-05/0.3578, allocations: 22.2 kB / 0.5378 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.3578, allocations: 8.969 kB / 0.5378 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.296e-05/0.3578, allocations: 6.188 kB / 0.5378 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.3579, allocations: 3.438 kB / 0.5378 GB, free: 8.629 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 (13): * Single equations (assignments): 13 * 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.0001133/0.358, allocations: 134.9 kB / 0.538 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.358, allocations: 18.23 kB / 0.538 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.28e-05/0.3581, allocations: 24.98 kB / 0.538 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3581, allocations: 0 / 0.538 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3581, allocations: 4 kB / 0.538 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.848e-05/0.3581, allocations: 93.02 kB / 0.5381 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.3582, allocations: 1.156 kB / 0.5381 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.587e-05/0.3582, allocations: 6.047 kB / 0.5381 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.3583, allocations: 8.281 kB / 0.5381 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002496/0.3585, allocations: 197.8 kB / 0.5383 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002923/0.3588, allocations: 308.2 kB / 0.5386 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.892e-05/0.3589, allocations: 43.38 kB / 0.5386 GB, free: 7.914 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001517/0.3591, allocations: 173 kB / 0.5388 GB, free: 7.801 MB / 398.1 MB Notification: Performance of Backend: time 5.71e-07/0.3591, allocations: 0 / 0.5388 GB, free: 7.801 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001505/0.3606, allocations: 0.5424 MB / 0.5393 GB, free: 7.543 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006584/0.3613, allocations: 0.7159 MB / 0.54 GB, free: 6.871 MB / 398.1 MB Notification: Performance of Templates: time 0.005143/0.3664, allocations: 2.114 MB / 0.5421 GB, free: 5.797 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches