Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001125/0.001125, allocations: 118.2 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001293, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.4 MB / 246.9 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.274/0.274, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 79.88 kB / 481.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4295/0.431, allocations: 62.43 MB / 0.5311 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002911/0.434, allocations: 1.694 MB / 0.5327 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.4357, allocations: 1.003 MB / 0.5337 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.128e-05/0.4358, allocations: 0.7188 kB / 0.5337 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.436, allocations: 46.08 kB / 0.5337 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002429/0.4362, allocations: 99.19 kB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002147/0.4365, allocations: 77.53 kB / 0.5339 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.4366, allocations: 98.19 kB / 0.534 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.118e-05/0.4367, allocations: 9.734 kB / 0.534 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.992e-05/0.4367, allocations: 38.92 kB / 0.5341 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.691e-05/0.4368, allocations: 29.47 kB / 0.5341 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.4368, allocations: 4.125 kB / 0.5341 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.444e-05/0.4369, allocations: 40.55 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.489e-05/0.437, allocations: 26.86 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.931e-05/0.437, allocations: 43.91 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.4372, allocations: 124.8 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.4372, allocations: 0 / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.4372, allocations: 0 / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.4372, allocations: 4 kB / 0.5343 GB, free: 11.12 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.0005138/0.4378, allocations: 432.3 kB / 0.5347 GB, free: 10.69 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.569e-05/0.4378, allocations: 9.625 kB / 0.5347 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.4378, allocations: 14.28 kB / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.4381, allocations: 224.1 kB / 0.535 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.4381, allocations: 1.75 kB / 0.535 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.4381, allocations: 9.484 kB / 0.535 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.4382, allocations: 51.31 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.817e-06/0.4382, allocations: 0 / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.4383, allocations: 1.375 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-06/0.4383, allocations: 3.938 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.858e-05/0.4383, allocations: 16.23 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001735/0.4385, allocations: 192.9 kB / 0.5352 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.4387, allocations: 57.73 kB / 0.5353 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.98e-05/0.4387, allocations: 29.03 kB / 0.5353 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.4387, allocations: 1.375 kB / 0.5353 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001222/0.4389, allocations: 60.42 kB / 0.5354 GB, free: 10.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.4389, allocations: 0 / 0.5354 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002886/0.4392, allocations: 101.4 kB / 0.5355 GB, free: 9.957 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.4392, allocations: 60.52 kB / 0.5355 GB, free: 9.887 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.4395, allocations: 270.5 kB / 0.5358 GB, free: 9.711 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.4395, allocations: 30.92 kB / 0.5358 GB, free: 9.676 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.4396, allocations: 111.4 kB / 0.5359 GB, free: 9.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.4396, allocations: 9.656 kB / 0.5359 GB, free: 9.562 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.4397, allocations: 18.88 kB / 0.5359 GB, free: 9.543 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.4398, allocations: 332.1 kB / 0.5363 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.796e-05/0.4399, allocations: 11.28 kB / 0.5363 GB, free: 9.211 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.714e-05/0.4399, allocations: 32.11 kB / 0.5363 GB, free: 9.184 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.824e-05/0.44, allocations: 47.48 kB / 0.5363 GB, free: 9.148 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.4401, allocations: 0 / 0.5363 GB, free: 9.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001614/0.4402, allocations: 89.81 kB / 0.5364 GB, free: 9.086 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.4402, allocations: 4.531 kB / 0.5364 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.4403, allocations: 5.156 kB / 0.5364 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.4403, allocations: 1.125 kB / 0.5364 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.548e-05/0.4404, allocations: 17.02 kB / 0.5365 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.4404, allocations: 4 kB / 0.5365 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.432e-05/0.4404, allocations: 6.312 kB / 0.5365 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.4404, allocations: 2.312 kB / 0.5365 GB, free: 9.066 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.0001095/0.4406, allocations: 136.7 kB / 0.5366 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.4406, allocations: 11.47 kB / 0.5366 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.362e-05/0.4406, allocations: 19.89 kB / 0.5366 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.4406, allocations: 1.188 kB / 0.5366 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.4406, allocations: 0 / 0.5366 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.4407, allocations: 4 kB / 0.5366 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.4408, allocations: 207.4 kB / 0.5368 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.4408, allocations: 5.125 kB / 0.5368 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.007e-05/0.4409, allocations: 6.188 kB / 0.5368 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4409, allocations: 1.219 kB / 0.5368 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.4409, allocations: 1.031 kB / 0.5368 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.4409, allocations: 0 / 0.5368 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.4409, allocations: 5.109 kB / 0.5369 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.4411, allocations: 114.5 kB / 0.537 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.683e-05/0.4412, allocations: 92.28 kB / 0.537 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.4412, allocations: 5.125 kB / 0.5371 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.061e-05/0.4413, allocations: 2.375 kB / 0.5371 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.335e-05/0.4413, allocations: 2.344 kB / 0.5371 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.4413, allocations: 6.453 kB / 0.5371 GB, free: 8.465 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002664/0.4416, allocations: 198.1 kB / 0.5373 GB, free: 8.344 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4416, allocations: 0 / 0.5373 GB, free: 8.344 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.4419, allocations: 21.5 kB / 0.5373 GB, free: 8.336 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009366/0.4428, allocations: 407.1 kB / 0.5377 GB, free: 8.121 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001512/0.443, allocations: 47.19 kB / 0.5377 GB, free: 8.098 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.443, allocations: 0 / 0.5377 GB, free: 8.098 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.765e-05/0.4431, allocations: 17.41 kB / 0.5377 GB, free: 8.094 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.4433, allocations: 42.27 kB / 0.5378 GB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004489/0.4438, allocations: 256.5 kB / 0.538 GB, free: 7.887 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.4442, allocations: 0.7189 MB / 0.5387 GB, free: 7.168 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.57e-05/0.4442, allocations: 16.23 kB / 0.5387 GB, free: 7.156 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/0.4443, allocations: 13.16 kB / 0.5387 GB, free: 7.148 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4443, allocations: 0 / 0.5387 GB, free: 7.148 MB / 398.1 MB Notification: Performance of Templates: time 0.004272/0.4485, allocations: 1.543 MB / 0.5402 GB, free: 6.363 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches