Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001377/0.001377, allocations: 114.2 kB / 18.45 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.001524/0.001524, allocations: 214.8 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2192/0.2192, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 75.88 kB / 482.1 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3103, allocations: 62.43 MB / 0.5317 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003014/0.3134, allocations: 1.695 MB / 0.5334 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.3149, allocations: 1.003 MB / 0.5344 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.171e-05/0.315, allocations: 0 / 0.5344 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002995/0.3153, allocations: 83.45 kB / 0.5344 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002985/0.3156, allocations: 115.4 kB / 0.5346 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001699/0.3158, allocations: 82.91 kB / 0.5346 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000198/0.316, allocations: 105.1 kB / 0.5347 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.757e-05/0.3161, allocations: 9.719 kB / 0.5347 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.055e-05/0.3161, allocations: 49.78 kB / 0.5348 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.51e-05/0.3163, allocations: 57.88 kB / 0.5348 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.3163, allocations: 2.75 kB / 0.5349 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.882e-05/0.3164, allocations: 33.98 kB / 0.5349 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.373e-05/0.3164, allocations: 18.8 kB / 0.5349 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.32e-05/0.3165, allocations: 47.73 kB / 0.5349 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.3167, allocations: 104.7 kB / 0.535 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3167, allocations: 0 / 0.535 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3167, allocations: 1.125 kB / 0.535 GB, free: 11.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.3167, allocations: 0 / 0.535 GB, free: 11.29 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005973/0.3173, allocations: 429.3 kB / 0.5355 GB, free: 10.85 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.3174, allocations: 8.219 kB / 0.5355 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.653e-05/0.3174, allocations: 14.16 kB / 0.5355 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.3177, allocations: 221.9 kB / 0.5357 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.3177, allocations: 384 / 0.5357 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.3177, allocations: 6.906 kB / 0.5357 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.3179, allocations: 46.89 kB / 0.5357 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.3179, allocations: 0 / 0.5357 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.3179, allocations: 1.312 kB / 0.5357 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.3179, allocations: 0 / 0.5357 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.769e-05/0.318, allocations: 15.59 kB / 0.5358 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002015/0.3182, allocations: 189.1 kB / 0.5359 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.3184, allocations: 54.86 kB / 0.536 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.714e-05/0.3184, allocations: 29.72 kB / 0.536 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.3185, allocations: 1.219 kB / 0.536 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.3186, allocations: 64.42 kB / 0.5361 GB, free: 10.2 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.3186, allocations: 0 / 0.5361 GB, free: 10.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002793/0.3189, allocations: 103.8 kB / 0.5362 GB, free: 10.13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.319, allocations: 52.69 kB / 0.5362 GB, free: 10.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.3192, allocations: 221.3 kB / 0.5364 GB, free: 9.906 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.3192, allocations: 25.7 kB / 0.5365 GB, free: 9.875 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.304e-05/0.3193, allocations: 110.9 kB / 0.5366 GB, free: 9.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.3193, allocations: 14.27 kB / 0.5366 GB, free: 9.758 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.3194, allocations: 22.3 kB / 0.5366 GB, free: 9.734 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.3195, allocations: 327.3 kB / 0.5369 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.792e-05/0.3195, allocations: 10.97 kB / 0.5369 GB, free: 9.406 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.539e-05/0.3196, allocations: 27.33 kB / 0.537 GB, free: 9.383 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.996e-05/0.3197, allocations: 52.27 kB / 0.537 GB, free: 9.344 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3197, allocations: 0 / 0.537 GB, free: 9.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001583/0.3199, allocations: 91.72 kB / 0.5371 GB, free: 9.277 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3199, allocations: 9.25 kB / 0.5371 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3199, allocations: 0.9688 kB / 0.5371 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.3199, allocations: 1.312 kB / 0.5371 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.413e-05/0.32, allocations: 12.45 kB / 0.5371 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.32, allocations: 1.281 kB / 0.5371 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.312e-05/0.3201, allocations: 2.938 kB / 0.5371 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.3201, allocations: 1.156 kB / 0.5371 GB, free: 9.27 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 (7): * Single equations (assignments): 7 * 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.917e-05/0.3202, allocations: 133.2 kB / 0.5372 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.3202, allocations: 17.06 kB / 0.5373 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.086e-05/0.3203, allocations: 19.09 kB / 0.5373 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3203, allocations: 0 / 0.5373 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.3203, allocations: 0 / 0.5373 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/0.3203, allocations: 92.22 kB / 0.5374 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.3204, allocations: 5.094 kB / 0.5374 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.79e-05/0.3204, allocations: 2.219 kB / 0.5374 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.3204, allocations: 2.062 kB / 0.5374 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001983/0.3206, allocations: 161 kB / 0.5375 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000217/0.3209, allocations: 251.5 kB / 0.5378 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.455e-05/0.3209, allocations: 21.7 kB / 0.5378 GB, free: 8.625 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001356/0.3211, allocations: 168.7 kB / 0.538 GB, free: 8.512 MB / 398.1 MB Notification: Performance of Backend: time 2.1e-07/0.3211, allocations: 3.938 kB / 0.538 GB, free: 8.508 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00121/0.3223, allocations: 427.3 kB / 0.5384 GB, free: 8.297 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006136/0.3229, allocations: 0.6777 MB / 0.539 GB, free: 7.645 MB / 398.1 MB Notification: Performance of Templates: time 0.00427/0.3272, allocations: 1.542 MB / 0.5405 GB, free: 6.863 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches