Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001142/0.001142, allocations: 118.8 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.001328/0.001328, allocations: 202 kB / 18.73 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.476/1.476, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2996/0.2996, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 79.88 kB / 481.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4091, allocations: 62.43 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.004018/0.4132, allocations: 1.733 MB / 0.5328 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002249/0.4155, allocations: 1.022 MB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.4157, allocations: 0 / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004139/0.4161, allocations: 38.78 kB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005076/0.4167, allocations: 95.09 kB / 0.5339 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003604/0.417, allocations: 84.28 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002583/0.4173, allocations: 100.9 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.4174, allocations: 14.81 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.4176, allocations: 48.27 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.265e-05/0.4177, allocations: 29.42 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.4177, allocations: 8.062 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.4179, allocations: 43.48 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.952e-05/0.418, allocations: 22.78 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.772e-05/0.418, allocations: 32 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.4183, allocations: 122.1 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4184, allocations: 3.938 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4184, allocations: 1.375 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.4184, allocations: 0 / 0.5344 GB, free: 11.04 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006967/0.4191, allocations: 415 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.4191, allocations: 9.625 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.884e-05/0.4192, allocations: 12.97 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/0.4196, allocations: 213.3 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.4196, allocations: 5.75 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.4196, allocations: 10.86 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.4198, allocations: 53.7 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.4199, allocations: 11.83 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.4199, allocations: 1.594 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.4199, allocations: 0 / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.239e-05/0.42, allocations: 18.33 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004611/0.4204, allocations: 291.7 kB / 0.5354 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.4206, allocations: 53.88 kB / 0.5354 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.9e-05/0.4207, allocations: 25.31 kB / 0.5354 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.4208, allocations: 1.062 kB / 0.5354 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001788/0.4209, allocations: 73.08 kB / 0.5355 GB, free: 9.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.843e-06/0.421, allocations: 0 / 0.5355 GB, free: 9.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006396/0.4216, allocations: 170.3 kB / 0.5357 GB, free: 9.766 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.4217, allocations: 52.88 kB / 0.5357 GB, free: 9.703 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.4219, allocations: 197 kB / 0.5359 GB, free: 9.559 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.4219, allocations: 25.7 kB / 0.5359 GB, free: 9.527 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.238e-05/0.422, allocations: 105.7 kB / 0.536 GB, free: 9.426 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/0.422, allocations: 35.25 kB / 0.5361 GB, free: 9.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.56e-05/0.4221, allocations: 20.62 kB / 0.5361 GB, free: 9.375 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.4223, allocations: 326.1 kB / 0.5364 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.479e-05/0.4223, allocations: 22.98 kB / 0.5364 GB, free: 9.039 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.106e-05/0.4224, allocations: 35.39 kB / 0.5365 GB, free: 9.012 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.4226, allocations: 55.09 kB / 0.5365 GB, free: 8.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.4226, allocations: 4.188 kB / 0.5365 GB, free: 8.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002103/0.4228, allocations: 108.3 kB / 0.5366 GB, free: 8.902 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.4228, allocations: 8.469 kB / 0.5366 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.4228, allocations: 1.125 kB / 0.5366 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.4229, allocations: 1.094 kB / 0.5366 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.423, allocations: 20.58 kB / 0.5367 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.423, allocations: 1.125 kB / 0.5367 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.825e-05/0.423, allocations: 6.219 kB / 0.5367 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.4231, allocations: 7.562 kB / 0.5367 GB, free: 8.883 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 (10): * Single equations (assignments): 10 * 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.0001192/0.4232, allocations: 126.4 kB / 0.5368 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.4232, allocations: 10.16 kB / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.922e-05/0.4233, allocations: 18.03 kB / 0.5368 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.4233, allocations: 1.125 kB / 0.5368 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4233, allocations: 0 / 0.5368 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.4233, allocations: 4.906 kB / 0.5368 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004902/0.4238, allocations: 402.3 kB / 0.5372 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4238, allocations: 5.656 kB / 0.5372 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.738e-05/0.4239, allocations: 11.31 kB / 0.5372 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.4239, allocations: 0 / 0.5372 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.4239, allocations: 6.406 kB / 0.5372 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.4239, allocations: 1.281 kB / 0.5372 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4239, allocations: 0 / 0.5372 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.4242, allocations: 200.8 kB / 0.5374 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/0.4242, allocations: 97.08 kB / 0.5375 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/0.4243, allocations: 5.438 kB / 0.5375 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-05/0.4243, allocations: 5.25 kB / 0.5375 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.4244, allocations: 12.17 kB / 0.5375 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.4244, allocations: 7.156 kB / 0.5375 GB, free: 8.027 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001417/0.4246, allocations: 148.5 kB / 0.5377 GB, free: 7.922 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4246, allocations: 0 / 0.5377 GB, free: 7.922 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002829/0.4249, allocations: 24.53 kB / 0.5377 GB, free: 7.914 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001153/0.426, allocations: 462.5 kB / 0.5381 GB, free: 7.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002136/0.4262, allocations: 58.72 kB / 0.5382 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4263, allocations: 0 / 0.5382 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.522e-05/0.4263, allocations: 33.64 kB / 0.5382 GB, free: 7.641 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.4267, allocations: 35.23 kB / 0.5383 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000567/0.4273, allocations: 235.2 kB / 0.5385 GB, free: 7.438 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.4277, allocations: 0.7018 MB / 0.5392 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.206e-05/0.4277, allocations: 22.8 kB / 0.5392 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.36e-05/0.4278, allocations: 18.94 kB / 0.5392 GB, free: 6.703 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4278, allocations: 0 / 0.5392 GB, free: 6.703 MB / 398.1 MB Notification: Performance of Templates: time 0.005675/0.4335, allocations: 1.755 MB / 0.5409 GB, free: 5.809 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches