Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001238/0.001238, allocations: 116.8 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001316/0.001316, allocations: 210.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.368/1.368, 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.2166/0.2166, allocations: 46.09 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 80.16 kB / 482.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3299, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002941/0.3329, allocations: 1.68 MB / 0.5334 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.3344, allocations: 0.9971 MB / 0.5344 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.799e-05/0.3345, allocations: 4 kB / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002457/0.3347, allocations: 55 kB / 0.5344 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002745/0.335, allocations: 105.8 kB / 0.5345 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.3352, allocations: 70.98 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.3354, allocations: 100.9 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.395e-05/0.3354, allocations: 5.734 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.988e-05/0.3355, allocations: 53.58 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.67e-05/0.3356, allocations: 41.7 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.3356, allocations: 6.75 kB / 0.5348 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.208e-05/0.3357, allocations: 28.61 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.439e-05/0.3357, allocations: 18.8 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.226e-05/0.3358, allocations: 34.56 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.336, allocations: 103.2 kB / 0.535 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.336, allocations: 1.375 kB / 0.535 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.336, allocations: 0 / 0.535 GB, free: 11.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.336, allocations: 3.938 kB / 0.535 GB, free: 11.11 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.0004791/0.3365, allocations: 403.7 kB / 0.5353 GB, free: 10.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.3365, allocations: 9.25 kB / 0.5354 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.167e-05/0.3366, allocations: 21.45 kB / 0.5354 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.3368, allocations: 210.6 kB / 0.5356 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.3368, allocations: 1.781 kB / 0.5356 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.3369, allocations: 5.781 kB / 0.5356 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.337, allocations: 51.45 kB / 0.5356 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.337, allocations: 0 / 0.5356 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.337, allocations: 0.875 kB / 0.5356 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.337, allocations: 1.062 kB / 0.5356 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.126e-05/0.3371, allocations: 20.08 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001772/0.3373, allocations: 181.8 kB / 0.5358 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.3374, allocations: 47.66 kB / 0.5359 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.253e-05/0.3375, allocations: 24.84 kB / 0.5359 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.3375, allocations: 5.094 kB / 0.5359 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000136/0.3377, allocations: 71.58 kB / 0.536 GB, free: 10.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.3377, allocations: 0 / 0.536 GB, free: 10.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002622/0.3379, allocations: 91.45 kB / 0.5361 GB, free: 9.984 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.338, allocations: 52.62 kB / 0.5361 GB, free: 9.922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.3381, allocations: 181.7 kB / 0.5363 GB, free: 9.781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.3382, allocations: 30.61 kB / 0.5363 GB, free: 9.746 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.942e-05/0.3382, allocations: 100.8 kB / 0.5364 GB, free: 9.648 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.3383, allocations: 14.06 kB / 0.5364 GB, free: 9.637 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.3383, allocations: 22.44 kB / 0.5364 GB, free: 9.613 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.3384, allocations: 326.4 kB / 0.5367 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.017e-05/0.3385, allocations: 15.77 kB / 0.5368 GB, free: 9.281 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.467e-05/0.3385, allocations: 31.52 kB / 0.5368 GB, free: 9.254 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.928e-05/0.3386, allocations: 43 kB / 0.5368 GB, free: 9.223 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3387, allocations: 4 kB / 0.5368 GB, free: 9.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001485/0.3388, allocations: 87.45 kB / 0.5369 GB, free: 9.156 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.3388, allocations: 5.75 kB / 0.5369 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.3388, allocations: 0 / 0.5369 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.3389, allocations: 1.188 kB / 0.5369 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.317e-05/0.3389, allocations: 9.188 kB / 0.5369 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.3389, allocations: 1.125 kB / 0.5369 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.892e-05/0.339, allocations: 10.19 kB / 0.5369 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.339, allocations: 2.5 kB / 0.537 GB, free: 9.148 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 0.0001086/0.3391, allocations: 135.2 kB / 0.5371 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.3392, allocations: 12.56 kB / 0.5371 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.861e-05/0.3392, allocations: 17.55 kB / 0.5371 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3392, allocations: 0 / 0.5371 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3392, allocations: 1.094 kB / 0.5371 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.835e-05/0.3393, allocations: 83.27 kB / 0.5372 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.3393, allocations: 5.094 kB / 0.5372 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.7e-05/0.3393, allocations: 1.125 kB / 0.5372 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.3394, allocations: 6.359 kB / 0.5372 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001881/0.3396, allocations: 161.4 kB / 0.5374 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002138/0.3398, allocations: 254.8 kB / 0.5376 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.967e-05/0.3398, allocations: 18.06 kB / 0.5376 GB, free: 8.508 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.34, allocations: 138.8 kB / 0.5377 GB, free: 8.406 MB / 398.1 MB Notification: Performance of Backend: time 2.9e-07/0.34, allocations: 3.938 kB / 0.5378 GB, free: 8.402 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001227/0.3412, allocations: 416.3 kB / 0.5381 GB, free: 8.199 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005738/0.3418, allocations: 0.6548 MB / 0.5388 GB, free: 7.559 MB / 398.1 MB Notification: Performance of Templates: time 0.004146/0.3459, allocations: 1.542 MB / 0.5403 GB, free: 6.773 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches