Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001363/0.001363, allocations: 113.7 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001423/0.001423, allocations: 206.7 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2366/0.2366, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 79.88 kB / 482 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4045, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003109/0.4076, allocations: 1.831 MB / 0.5335 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002538/0.4102, allocations: 1.693 MB / 0.5352 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.4103, allocations: 5.312 kB / 0.5352 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003182/0.4106, allocations: 53.44 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003871/0.4111, allocations: 139.1 kB / 0.5353 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.4113, allocations: 108.3 kB / 0.5354 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002597/0.4116, allocations: 209.6 kB / 0.5356 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.86e-05/0.4117, allocations: 9.156 kB / 0.5357 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.4118, allocations: 85.52 kB / 0.5357 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.412, allocations: 83.53 kB / 0.5358 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.4121, allocations: 9 kB / 0.5358 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001987/0.4123, allocations: 118.9 kB / 0.5359 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.127e-05/0.4123, allocations: 40.8 kB / 0.536 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.742e-05/0.4124, allocations: 58.45 kB / 0.536 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003321/0.4128, allocations: 226.5 kB / 0.5362 GB, free: 10.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.4128, allocations: 1.094 kB / 0.5363 GB, free: 10.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4128, allocations: 0 / 0.5363 GB, free: 10.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.4128, allocations: 0 / 0.5363 GB, free: 10.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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007011/0.4135, allocations: 0.4887 MB / 0.5367 GB, free: 9.602 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.4136, allocations: 9.594 kB / 0.5367 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.479e-05/0.4136, allocations: 20.34 kB / 0.5368 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003739/0.414, allocations: 254.9 kB / 0.537 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.414, allocations: 2.219 kB / 0.537 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.4141, allocations: 8 kB / 0.537 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.4143, allocations: 106.8 kB / 0.5371 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.4143, allocations: 0 / 0.5371 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.4143, allocations: 0.9688 kB / 0.5371 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.4143, allocations: 5.141 kB / 0.5371 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.4145, allocations: 28.98 kB / 0.5371 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002369/0.4147, allocations: 220.7 kB / 0.5374 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.415, allocations: 106.2 kB / 0.5375 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.699e-05/0.4151, allocations: 45.84 kB / 0.5375 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.4151, allocations: 5.109 kB / 0.5375 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002279/0.4154, allocations: 112.5 kB / 0.5376 GB, free: 8.742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.4154, allocations: 0 / 0.5376 GB, free: 8.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004682/0.4158, allocations: 163.6 kB / 0.5378 GB, free: 8.652 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.428e-05/0.4159, allocations: 130.8 kB / 0.5379 GB, free: 8.496 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.4162, allocations: 239.3 kB / 0.5381 GB, free: 8.324 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.4163, allocations: 27.92 kB / 0.5381 GB, free: 8.293 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.011e-05/0.4164, allocations: 123.6 kB / 0.5383 GB, free: 8.176 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/0.4164, allocations: 27.83 kB / 0.5383 GB, free: 8.152 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.343e-05/0.4165, allocations: 35.61 kB / 0.5383 GB, free: 8.121 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.4166, allocations: 327.1 kB / 0.5386 GB, free: 7.797 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.784e-05/0.4167, allocations: 31.89 kB / 0.5387 GB, free: 7.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.4168, allocations: 74.09 kB / 0.5387 GB, free: 7.711 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.417, allocations: 86.58 kB / 0.5388 GB, free: 7.648 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.417, allocations: 0 / 0.5388 GB, free: 7.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002754/0.4173, allocations: 146.1 kB / 0.539 GB, free: 7.559 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.4173, allocations: 5.594 kB / 0.539 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.4173, allocations: 5.094 kB / 0.539 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.4173, allocations: 1.031 kB / 0.539 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.4174, allocations: 26.36 kB / 0.539 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.4175, allocations: 1.125 kB / 0.539 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.808e-05/0.4175, allocations: 9.562 kB / 0.539 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.4176, allocations: 7.125 kB / 0.539 GB, free: 7.539 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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001091/0.4177, allocations: 133.5 kB / 0.5391 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.069e-05/0.4177, allocations: 20.31 kB / 0.5392 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.192e-05/0.4178, allocations: 23.45 kB / 0.5392 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4178, allocations: 2.594 kB / 0.5392 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.4178, allocations: 0 / 0.5392 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.4178, allocations: 1.469 kB / 0.5392 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.418, allocations: 227.5 kB / 0.5394 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.418, allocations: 0 / 0.5394 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.593e-05/0.4181, allocations: 14.14 kB / 0.5394 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.4181, allocations: 0.9688 kB / 0.5394 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.4181, allocations: 2.031 kB / 0.5394 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4181, allocations: 1.312 kB / 0.5394 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4181, allocations: 5 kB / 0.5394 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.4185, allocations: 175.3 kB / 0.5396 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.238e-05/0.4185, allocations: 97.44 kB / 0.5397 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.337e-05/0.4186, allocations: 2.562 kB / 0.5397 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.195e-05/0.4187, allocations: 11.27 kB / 0.5397 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.4187, allocations: 4.531 kB / 0.5397 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.4188, allocations: 8.469 kB / 0.5397 GB, free: 6.871 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001807/0.4189, allocations: 182.8 kB / 0.5399 GB, free: 6.742 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.674e-06/0.419, allocations: 0 / 0.5399 GB, free: 6.742 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003014/0.4193, allocations: 57.59 kB / 0.5399 GB, free: 6.723 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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.001154/0.4204, allocations: 496.5 kB / 0.5404 GB, free: 6.469 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003084/0.4207, allocations: 83.8 kB / 0.5405 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.4208, allocations: 0 / 0.5405 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.4209, allocations: 47.55 kB / 0.5405 GB, free: 6.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.4212, allocations: 61.17 kB / 0.5406 GB, free: 6.383 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005861/0.4218, allocations: 311.5 kB / 0.5409 GB, free: 6.129 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.4221, allocations: 0.7224 MB / 0.5416 GB, free: 5.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.415e-05/0.4222, allocations: 31.14 kB / 0.5416 GB, free: 5.395 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4222, allocations: 0 / 0.5416 GB, free: 5.395 MB / 398.1 MB Notification: Performance of Templates: time 0.00775/0.43, allocations: 3.196 MB / 0.5448 GB, free: 3.746 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches