Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001226/0.001226, allocations: 111.6 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001312/0.001312, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, 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.2258/0.2258, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 79.88 kB / 482.1 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4102, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003352/0.4136, allocations: 1.687 MB / 0.5334 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.4155, allocations: 1.002 MB / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.4156, allocations: 0 / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003583/0.416, allocations: 68.47 kB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004143/0.4164, allocations: 101.8 kB / 0.5345 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.4167, allocations: 76.78 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.4169, allocations: 108.4 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.03e-05/0.417, allocations: 8.516 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.4171, allocations: 47.75 kB / 0.5348 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.4173, allocations: 48.52 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.4173, allocations: 3.781 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.4175, allocations: 28.2 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.66e-05/0.4175, allocations: 18.36 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.883e-05/0.4176, allocations: 40.59 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.4179, allocations: 107.4 kB / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4179, allocations: 5.062 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4179, allocations: 0 / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.4179, allocations: 0 / 0.535 GB, free: 11.09 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.0006494/0.4186, allocations: 417.9 kB / 0.5354 GB, free: 10.67 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.4186, allocations: 8 kB / 0.5354 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.694e-05/0.4187, allocations: 9.531 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004208/0.4191, allocations: 212.5 kB / 0.5356 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.4191, allocations: 1.531 kB / 0.5356 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.4192, allocations: 6.219 kB / 0.5356 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.4193, allocations: 50.92 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.4194, allocations: 1.094 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.4194, allocations: 0 / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.4194, allocations: 9.031 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.816e-05/0.4195, allocations: 15.92 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002173/0.4197, allocations: 178.7 kB / 0.5359 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.4199, allocations: 46.97 kB / 0.5359 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.787e-05/0.4199, allocations: 25.84 kB / 0.5359 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.42, allocations: 5.219 kB / 0.5359 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.4202, allocations: 71.2 kB / 0.536 GB, free: 10.03 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.633e-06/0.4202, allocations: 1.094 kB / 0.536 GB, free: 10.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003206/0.4205, allocations: 91.3 kB / 0.5361 GB, free: 9.969 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.4205, allocations: 52.44 kB / 0.5361 GB, free: 9.906 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.4208, allocations: 191.6 kB / 0.5363 GB, free: 9.766 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.4208, allocations: 31.08 kB / 0.5364 GB, free: 9.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.103e-05/0.4209, allocations: 104.2 kB / 0.5365 GB, free: 9.629 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.4209, allocations: 22.5 kB / 0.5365 GB, free: 9.609 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.421, allocations: 23.2 kB / 0.5365 GB, free: 9.586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.4211, allocations: 321.6 kB / 0.5368 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.337e-05/0.4212, allocations: 12.25 kB / 0.5368 GB, free: 9.262 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.324e-05/0.4212, allocations: 39.23 kB / 0.5369 GB, free: 9.227 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.4213, allocations: 51.83 kB / 0.5369 GB, free: 9.188 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4214, allocations: 0 / 0.5369 GB, free: 9.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001846/0.4215, allocations: 83.72 kB / 0.537 GB, free: 9.129 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.4216, allocations: 5.5 kB / 0.537 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.4216, allocations: 0 / 0.537 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.4216, allocations: 5.312 kB / 0.537 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.064e-05/0.4217, allocations: 13.36 kB / 0.537 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.4217, allocations: 1.312 kB / 0.537 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.116e-05/0.4218, allocations: 5.344 kB / 0.537 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.4218, allocations: 6.75 kB / 0.537 GB, free: 9.113 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.0001087/0.4219, allocations: 119 kB / 0.5371 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/0.4219, allocations: 19.73 kB / 0.5371 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.988e-05/0.422, allocations: 14.47 kB / 0.5372 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.422, allocations: 0 / 0.5372 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.422, allocations: 3.938 kB / 0.5372 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.422, allocations: 88.11 kB / 0.5373 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.4221, allocations: 5.016 kB / 0.5373 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.894e-05/0.4221, allocations: 1.281 kB / 0.5373 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.4222, allocations: 10.31 kB / 0.5373 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001998/0.4224, allocations: 157.8 kB / 0.5374 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002349/0.4226, allocations: 255.4 kB / 0.5377 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.894e-05/0.4227, allocations: 17.55 kB / 0.5377 GB, free: 8.477 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001353/0.4228, allocations: 151.2 kB / 0.5378 GB, free: 8.367 MB / 398.1 MB Notification: Performance of Backend: time 4.51e-07/0.4228, allocations: 5.156 kB / 0.5378 GB, free: 8.363 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001294/0.4241, allocations: 410.5 kB / 0.5382 GB, free: 8.164 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007562/0.4249, allocations: 0.6594 MB / 0.5389 GB, free: 7.52 MB / 398.1 MB Notification: Performance of Templates: time 0.004883/0.4298, allocations: 1.541 MB / 0.5404 GB, free: 6.738 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches