Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001069/0.001069, allocations: 114.3 kB / 18.45 MB, free: 4.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.001249, allocations: 214.8 kB / 19.41 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2126/0.2126, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 75.88 kB / 482.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3518, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002947/0.3548, allocations: 1.746 MB / 0.5334 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.3565, allocations: 1.018 MB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.421e-05/0.3566, allocations: 0.7188 kB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002954/0.3569, allocations: 47.84 kB / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000302/0.3572, allocations: 104.7 kB / 0.5346 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.3574, allocations: 79.95 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.3576, allocations: 101.4 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.3577, allocations: 19.23 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.3579, allocations: 39.73 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.574e-05/0.358, allocations: 37.86 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.358, allocations: 4.656 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.3581, allocations: 39.23 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.46e-05/0.3582, allocations: 24.48 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.332e-05/0.3582, allocations: 40.88 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.3585, allocations: 130.1 kB / 0.5351 GB, free: 11.01 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3585, allocations: 4 kB / 0.5351 GB, free: 11.01 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3585, allocations: 1 kB / 0.5351 GB, free: 11.01 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.3585, allocations: 0 / 0.5351 GB, free: 11.01 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.0005375/0.3591, allocations: 444.1 kB / 0.5355 GB, free: 10.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3591, allocations: 9.5 kB / 0.5355 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.297e-05/0.3592, allocations: 10.39 kB / 0.5355 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.3595, allocations: 219.6 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.3595, allocations: 1.75 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.3595, allocations: 13.5 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.3597, allocations: 50.05 kB / 0.5358 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.3597, allocations: 1.375 kB / 0.5358 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.3597, allocations: 4 kB / 0.5358 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3597, allocations: 1.375 kB / 0.5358 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.46e-05/0.3598, allocations: 17.61 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003362/0.3601, allocations: 297.6 kB / 0.5361 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.3603, allocations: 61.88 kB / 0.5362 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.37e-05/0.3604, allocations: 22.47 kB / 0.5362 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.3604, allocations: 0 / 0.5362 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001478/0.3606, allocations: 65.14 kB / 0.5362 GB, free: 9.809 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.3606, allocations: 1.375 kB / 0.5362 GB, free: 9.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005149/0.3611, allocations: 180 kB / 0.5364 GB, free: 9.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.3611, allocations: 55.41 kB / 0.5365 GB, free: 9.637 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.3614, allocations: 236.3 kB / 0.5367 GB, free: 9.477 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.3614, allocations: 30.7 kB / 0.5367 GB, free: 9.441 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.467e-05/0.3615, allocations: 114.1 kB / 0.5368 GB, free: 9.332 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.3615, allocations: 24.5 kB / 0.5369 GB, free: 9.312 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.3616, allocations: 24.28 kB / 0.5369 GB, free: 9.289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3617, allocations: 335.2 kB / 0.5372 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.227e-05/0.3618, allocations: 23.02 kB / 0.5372 GB, free: 8.945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.956e-05/0.3618, allocations: 38.77 kB / 0.5373 GB, free: 8.914 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.362, allocations: 63.34 kB / 0.5373 GB, free: 8.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.362, allocations: 0 / 0.5373 GB, free: 8.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000195/0.3622, allocations: 105.1 kB / 0.5374 GB, free: 8.805 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3622, allocations: 7.75 kB / 0.5374 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3622, allocations: 4 kB / 0.5374 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3623, allocations: 1.156 kB / 0.5374 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.3624, allocations: 17.42 kB / 0.5374 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.3624, allocations: 4.938 kB / 0.5375 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.709e-05/0.3624, allocations: 6.109 kB / 0.5375 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.3624, allocations: 6.281 kB / 0.5375 GB, free: 8.785 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.0001084/0.3626, allocations: 131.1 kB / 0.5376 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.3626, allocations: 14.22 kB / 0.5376 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.32e-05/0.3627, allocations: 23.23 kB / 0.5376 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3627, allocations: 1.094 kB / 0.5376 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.3627, allocations: 0 / 0.5376 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.3627, allocations: 84.28 kB / 0.5377 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.3628, allocations: 9.031 kB / 0.5377 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.129e-05/0.3628, allocations: 5.703 kB / 0.5377 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.3629, allocations: 3.156 kB / 0.5377 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002317/0.3631, allocations: 177.2 kB / 0.5379 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002603/0.3634, allocations: 282.8 kB / 0.5382 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.696e-05/0.3634, allocations: 25.67 kB / 0.5382 GB, free: 8.117 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001507/0.3636, allocations: 177.6 kB / 0.5384 GB, free: 8 MB / 398.1 MB Notification: Performance of Backend: time 1.9e-07/0.3636, allocations: 0 / 0.5384 GB, free: 8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.365, allocations: 488.5 kB / 0.5388 GB, free: 7.77 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006224/0.3656, allocations: 0.6989 MB / 0.5395 GB, free: 7.102 MB / 398.1 MB Notification: Performance of Templates: time 0.004581/0.3702, allocations: 1.807 MB / 0.5413 GB, free: 6.191 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches