Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001139/0.001139, allocations: 113 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001075/0.001075, allocations: 208.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2343/0.2343, allocations: 46.09 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 75.88 kB / 482 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.4274, allocations: 62.42 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003413/0.4309, allocations: 1.844 MB / 0.5335 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.4328, allocations: 1.088 MB / 0.5346 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.387e-05/0.4329, allocations: 5.312 kB / 0.5346 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005295/0.4334, allocations: 294.5 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004948/0.4339, allocations: 253.6 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.4342, allocations: 104.6 kB / 0.5352 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003327/0.4346, allocations: 262.4 kB / 0.5355 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.837e-05/0.4346, allocations: 9.531 kB / 0.5355 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.4348, allocations: 128.5 kB / 0.5356 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.4351, allocations: 200.6 kB / 0.5358 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.4351, allocations: 7.781 kB / 0.5358 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.4352, allocations: 46.92 kB / 0.5358 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001708/0.4354, allocations: 137.4 kB / 0.536 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.4356, allocations: 147.2 kB / 0.5361 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004195/0.436, allocations: 370 kB / 0.5365 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.436, allocations: 0 / 0.5365 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.436, allocations: 0 / 0.5365 GB, free: 10.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.436, allocations: 0 / 0.5365 GB, free: 10.23 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009622/0.437, allocations: 0.7266 MB / 0.5372 GB, free: 9.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.437, allocations: 9.281 kB / 0.5372 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.803e-05/0.4371, allocations: 54.31 kB / 0.5372 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006281/0.4378, allocations: 449.1 kB / 0.5377 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.4378, allocations: 6.594 kB / 0.5377 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.4378, allocations: 10.52 kB / 0.5377 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.438, allocations: 80.5 kB / 0.5377 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.4381, allocations: 4 kB / 0.5377 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.4381, allocations: 1.25 kB / 0.5377 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.4381, allocations: 5.234 kB / 0.5378 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.4382, allocations: 35.16 kB / 0.5378 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004264/0.4386, allocations: 372.1 kB / 0.5381 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.4389, allocations: 104.5 kB / 0.5382 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.4391, allocations: 41.98 kB / 0.5383 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.4391, allocations: 5.875 kB / 0.5383 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002263/0.4393, allocations: 123.6 kB / 0.5384 GB, free: 8.535 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.4393, allocations: 0 / 0.5384 GB, free: 8.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005116/0.4398, allocations: 196.7 kB / 0.5386 GB, free: 8.426 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/0.4399, allocations: 83.3 kB / 0.5387 GB, free: 8.328 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.4411, allocations: 1.027 MB / 0.5397 GB, free: 7.855 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.4411, allocations: 30.8 kB / 0.5397 GB, free: 7.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.4413, allocations: 233.2 kB / 0.5399 GB, free: 7.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.503e-05/0.4414, allocations: 25.06 kB / 0.54 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.492e-05/0.4414, allocations: 30.45 kB / 0.54 GB, free: 7.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.4416, allocations: 366.1 kB / 0.5403 GB, free: 7.223 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-05/0.4417, allocations: 25.98 kB / 0.5404 GB, free: 7.211 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.886e-05/0.4418, allocations: 66.69 kB / 0.5404 GB, free: 7.156 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.442, allocations: 90.27 kB / 0.5405 GB, free: 7.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.442, allocations: 0 / 0.5405 GB, free: 7.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003102/0.4423, allocations: 169.9 kB / 0.5407 GB, free: 6.988 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.4424, allocations: 7.75 kB / 0.5407 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.4424, allocations: 2.156 kB / 0.5407 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.4424, allocations: 1.094 kB / 0.5407 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.4425, allocations: 29.89 kB / 0.5407 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.4425, allocations: 1.125 kB / 0.5407 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.4427, allocations: 17.06 kB / 0.5407 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.4427, allocations: 3.844 kB / 0.5407 GB, free: 6.965 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002284/0.4429, allocations: 224.2 kB / 0.5409 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.804e-05/0.443, allocations: 51.09 kB / 0.541 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.897e-05/0.4431, allocations: 58.34 kB / 0.541 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.4431, allocations: 5.219 kB / 0.541 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.4431, allocations: 9.562 kB / 0.5411 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.4431, allocations: 0 / 0.5411 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003486/0.4435, allocations: 348.9 kB / 0.5414 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4435, allocations: 0 / 0.5414 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.651e-05/0.4435, allocations: 10.36 kB / 0.5414 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4435, allocations: 1.469 kB / 0.5414 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.4435, allocations: 1.531 kB / 0.5414 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4435, allocations: 1.125 kB / 0.5414 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.4436, allocations: 0.9062 kB / 0.5414 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/0.4439, allocations: 211.9 kB / 0.5416 GB, free: 6.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.4441, allocations: 138 kB / 0.5417 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.882e-05/0.4441, allocations: 5.984 kB / 0.5417 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.103e-05/0.4442, allocations: 3.219 kB / 0.5417 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.4443, allocations: 12.17 kB / 0.5418 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.4443, allocations: 5.156 kB / 0.5418 GB, free: 6.129 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000905/0.4452, allocations: 0.7599 MB / 0.5425 GB, free: 5.777 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4452, allocations: 4 kB / 0.5425 GB, free: 5.773 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002953/0.4455, allocations: 44.2 kB / 0.5426 GB, free: 5.766 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009883/0.4465, allocations: 409.6 kB / 0.5429 GB, free: 5.547 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002627/0.4468, allocations: 80 kB / 0.543 GB, free: 5.516 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4468, allocations: 0 / 0.543 GB, free: 5.516 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.4469, allocations: 39.25 kB / 0.5431 GB, free: 5.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.4474, allocations: 76.67 kB / 0.5431 GB, free: 5.457 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.4487, allocations: 0.9067 MB / 0.544 GB, free: 4.852 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/0.4492, allocations: 0.8388 MB / 0.5448 GB, free: 3.988 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.022e-05/0.4492, allocations: 31.42 kB / 0.5449 GB, free: 3.961 MB / 398.1 MB Notification: Performance of SimCode: time 1.593e-06/0.4492, allocations: 0 / 0.5449 GB, free: 3.961 MB / 398.1 MB Notification: Performance of Templates: time 0.007896/0.4571, allocations: 5.098 MB / 0.5498 GB, free: 14.87 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches