Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001122/0.001122, allocations: 121.2 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001407/0.001407, allocations: 200.6 kB / 18.74 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, 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.2256/0.2256, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 76.09 kB / 481.4 MB, free: 4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.4124, allocations: 62.44 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003435/0.4159, allocations: 1.92 MB / 0.533 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.4182, allocations: 1.129 MB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.4184, allocations: 1.219 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005344/0.4189, allocations: 258.6 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004822/0.4194, allocations: 235 kB / 0.5346 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.4197, allocations: 111.1 kB / 0.5347 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.42, allocations: 276.2 kB / 0.5349 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.4202, allocations: 28.8 kB / 0.5349 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.4204, allocations: 131 kB / 0.5351 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002353/0.4206, allocations: 188.1 kB / 0.5353 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.4206, allocations: 8.438 kB / 0.5353 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.4208, allocations: 67.09 kB / 0.5353 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.4209, allocations: 60.23 kB / 0.5354 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.662e-05/0.421, allocations: 103.1 kB / 0.5355 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003503/0.4214, allocations: 259.8 kB / 0.5357 GB, free: 10.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.4214, allocations: 1.031 kB / 0.5357 GB, free: 10.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.4214, allocations: 0 / 0.5357 GB, free: 10.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.4214, allocations: 3.938 kB / 0.5357 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007921/0.4222, allocations: 0.5974 MB / 0.5363 GB, free: 9.664 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.4222, allocations: 9.312 kB / 0.5363 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.213e-05/0.4223, allocations: 31.53 kB / 0.5364 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.4227, allocations: 299.1 kB / 0.5366 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.4227, allocations: 7.844 kB / 0.5366 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.4228, allocations: 10.06 kB / 0.5367 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.423, allocations: 106.3 kB / 0.5368 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.423, allocations: 1.188 kB / 0.5368 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.4231, allocations: 4.969 kB / 0.5368 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.4231, allocations: 2.281 kB / 0.5368 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.4232, allocations: 56.56 kB / 0.5368 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005858/0.4238, allocations: 482.8 kB / 0.5373 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003868/0.4242, allocations: 121.9 kB / 0.5374 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.939e-05/0.4243, allocations: 48.8 kB / 0.5374 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.4244, allocations: 6.734 kB / 0.5374 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002328/0.4246, allocations: 120.2 kB / 0.5376 GB, free: 8.539 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.4246, allocations: 0 / 0.5376 GB, free: 8.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001348/0.426, allocations: 0.51 MB / 0.5381 GB, free: 8.258 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7e-05/0.426, allocations: 88.44 kB / 0.5381 GB, free: 8.156 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005468/0.4266, allocations: 496.3 kB / 0.5386 GB, free: 7.895 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.4266, allocations: 36.69 kB / 0.5387 GB, free: 7.855 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.4267, allocations: 168.3 kB / 0.5388 GB, free: 7.699 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.971e-05/0.4268, allocations: 77.95 kB / 0.5389 GB, free: 7.633 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.869e-05/0.4269, allocations: 42.47 kB / 0.5389 GB, free: 7.602 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.4271, allocations: 349.7 kB / 0.5393 GB, free: 7.262 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.4272, allocations: 57.41 kB / 0.5393 GB, free: 7.234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.4274, allocations: 98.73 kB / 0.5394 GB, free: 7.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/0.4277, allocations: 157.5 kB / 0.5396 GB, free: 7.062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.4277, allocations: 0 / 0.5396 GB, free: 7.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004282/0.4281, allocations: 235.5 kB / 0.5398 GB, free: 6.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.4282, allocations: 9.812 kB / 0.5398 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.4282, allocations: 9.734 kB / 0.5398 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.4282, allocations: 1.344 kB / 0.5398 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.4283, allocations: 42.2 kB / 0.5398 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.4284, allocations: 6.969 kB / 0.5399 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.788e-05/0.4285, allocations: 8.406 kB / 0.5399 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.4285, allocations: 13.73 kB / 0.5399 GB, free: 6.902 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001698/0.4287, allocations: 170.1 kB / 0.54 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-05/0.4287, allocations: 39.55 kB / 0.5401 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.719e-05/0.4288, allocations: 40.98 kB / 0.5401 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.4288, allocations: 2.688 kB / 0.5401 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.4288, allocations: 4.969 kB / 0.5401 GB, free: 6.711 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.4289, allocations: 9.641 kB / 0.5401 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009799/0.4298, allocations: 0.7464 MB / 0.5409 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.4299, allocations: 1.094 kB / 0.5409 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.001e-05/0.43, allocations: 28.55 kB / 0.5409 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.43, allocations: 6.5 kB / 0.5409 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.43, allocations: 12.34 kB / 0.5409 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.43, allocations: 2.031 kB / 0.5409 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.602e-05/0.43, allocations: 1.188 kB / 0.5409 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005088/0.4305, allocations: 429.8 kB / 0.5413 GB, free: 5.715 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.438e-05/0.4306, allocations: 106 kB / 0.5414 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.711e-05/0.4307, allocations: 11.61 kB / 0.5414 GB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.4308, allocations: 8.75 kB / 0.5414 GB, free: 5.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.869e-05/0.4309, allocations: 25.28 kB / 0.5415 GB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/0.4309, allocations: 7.781 kB / 0.5415 GB, free: 5.574 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004235/0.4314, allocations: 373.2 kB / 0.5418 GB, free: 5.375 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4314, allocations: 5.156 kB / 0.5418 GB, free: 5.371 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003762/0.4318, allocations: 52.73 kB / 0.5419 GB, free: 5.355 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001345/0.4331, allocations: 0.5084 MB / 0.5424 GB, free: 5.098 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003887/0.4335, allocations: 154.5 kB / 0.5425 GB, free: 5.035 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4335, allocations: 0 / 0.5425 GB, free: 5.035 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.4337, allocations: 87.62 kB / 0.5426 GB, free: 4.996 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005749/0.4343, allocations: 60.52 kB / 0.5427 GB, free: 4.965 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009677/0.4353, allocations: 0.6005 MB / 0.5433 GB, free: 4.562 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.4357, allocations: 0.7836 MB / 0.544 GB, free: 3.82 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001141/0.4358, allocations: 43.91 kB / 0.5441 GB, free: 3.801 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.684e-05/0.4359, allocations: 35.08 kB / 0.5441 GB, free: 3.785 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4359, allocations: 0 / 0.5441 GB, free: 3.785 MB / 398.1 MB Notification: Performance of Templates: time 0.006889/0.4428, allocations: 3.197 MB / 0.5472 GB, free: 0.9336 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches