Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00135/0.00135, allocations: 114.3 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001372/0.001372, allocations: 206.8 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2078/0.2078, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 79.88 kB / 482.1 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3327, allocations: 62.45 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003132/0.3359, allocations: 1.691 MB / 0.5334 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.3377, allocations: 0.9982 MB / 0.5344 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.3378, allocations: 1.375 kB / 0.5344 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003361/0.3382, allocations: 67.11 kB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003654/0.3386, allocations: 106 kB / 0.5345 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.3388, allocations: 73.55 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.339, allocations: 107.7 kB / 0.5347 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.13e-05/0.3391, allocations: 5.734 kB / 0.5347 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.3392, allocations: 47.03 kB / 0.5348 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.3393, allocations: 48.39 kB / 0.5348 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.3394, allocations: 8.125 kB / 0.5348 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.3395, allocations: 32.61 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.888e-05/0.3395, allocations: 21.41 kB / 0.5349 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.947e-05/0.3396, allocations: 32 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.3398, allocations: 109.2 kB / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3399, allocations: 1.375 kB / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3399, allocations: 0 / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.3399, allocations: 0 / 0.535 GB, free: 11.1 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.0005592/0.3404, allocations: 418.8 kB / 0.5354 GB, free: 10.67 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3405, allocations: 12.31 kB / 0.5354 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.3406, allocations: 17.44 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.3409, allocations: 212.6 kB / 0.5356 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.3409, allocations: 6.391 kB / 0.5356 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.3409, allocations: 5.125 kB / 0.5356 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.3411, allocations: 47.14 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.3411, allocations: 1.375 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.3411, allocations: 0 / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.3411, allocations: 1.25 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.99e-05/0.3412, allocations: 15.66 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002175/0.3414, allocations: 190.7 kB / 0.5359 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.3416, allocations: 51.09 kB / 0.5359 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.219e-05/0.3417, allocations: 25.81 kB / 0.536 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.3417, allocations: 0 / 0.536 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/0.3419, allocations: 64.7 kB / 0.536 GB, free: 10.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/0.3419, allocations: 0 / 0.536 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003253/0.3422, allocations: 95.72 kB / 0.5361 GB, free: 9.961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.3423, allocations: 52.78 kB / 0.5362 GB, free: 9.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.3425, allocations: 196.3 kB / 0.5363 GB, free: 9.754 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.3425, allocations: 25.7 kB / 0.5364 GB, free: 9.723 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.663e-05/0.3426, allocations: 101.8 kB / 0.5365 GB, free: 9.625 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.577e-05/0.3427, allocations: 22.23 kB / 0.5365 GB, free: 9.605 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/0.3427, allocations: 26.39 kB / 0.5365 GB, free: 9.578 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.3428, allocations: 322.4 kB / 0.5368 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.226e-05/0.3429, allocations: 11.88 kB / 0.5368 GB, free: 9.254 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.245e-05/0.343, allocations: 31.55 kB / 0.5369 GB, free: 9.227 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.3431, allocations: 50.89 kB / 0.5369 GB, free: 9.188 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3431, allocations: 1.188 kB / 0.5369 GB, free: 9.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000177/0.3433, allocations: 91.5 kB / 0.537 GB, free: 9.121 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.3433, allocations: 6.875 kB / 0.537 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3433, allocations: 1.156 kB / 0.537 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3433, allocations: 1.188 kB / 0.537 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.164e-05/0.3434, allocations: 9.156 kB / 0.537 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.3434, allocations: 3.938 kB / 0.537 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.004e-05/0.3435, allocations: 10.3 kB / 0.537 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.3435, allocations: 2.25 kB / 0.537 GB, free: 9.109 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.891e-05/0.3436, allocations: 123.4 kB / 0.5372 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.3436, allocations: 16.7 kB / 0.5372 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.321e-05/0.3437, allocations: 13.48 kB / 0.5372 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.3437, allocations: 0 / 0.5372 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3437, allocations: 1.094 kB / 0.5372 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.3437, allocations: 87.3 kB / 0.5373 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.3438, allocations: 9.062 kB / 0.5373 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.201e-05/0.3438, allocations: 6.328 kB / 0.5373 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.3439, allocations: 1.188 kB / 0.5373 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001987/0.3441, allocations: 165.3 kB / 0.5374 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002546/0.3443, allocations: 247 kB / 0.5377 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.872e-05/0.3444, allocations: 22.23 kB / 0.5377 GB, free: 8.473 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000136/0.3446, allocations: 151.9 kB / 0.5378 GB, free: 8.363 MB / 398.1 MB Notification: Performance of Backend: time 1.944e-06/0.3446, allocations: 0 / 0.5378 GB, free: 8.363 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.3459, allocations: 424.9 kB / 0.5382 GB, free: 8.152 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006619/0.3466, allocations: 0.6487 MB / 0.5389 GB, free: 7.516 MB / 398.1 MB Notification: Performance of Templates: time 0.005343/0.3519, allocations: 1.533 MB / 0.5404 GB, free: 6.734 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches