Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00101/0.00101, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001072/0.001072, allocations: 198 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2445/0.2445, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 75.88 kB / 481.4 MB, free: 3.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5179/0.5195, allocations: 62.43 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003738/0.5233, allocations: 1.73 MB / 0.5328 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.5253, allocations: 1.024 MB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.967e-05/0.5254, allocations: 0 / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004269/0.5258, allocations: 37.41 kB / 0.5338 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003827/0.5262, allocations: 89.72 kB / 0.5339 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.5265, allocations: 84.3 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002476/0.5267, allocations: 108.9 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.5269, allocations: 10.81 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.527, allocations: 42.91 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.5271, allocations: 34.8 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.5272, allocations: 6.734 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.5273, allocations: 40.86 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.411e-05/0.5274, allocations: 17.42 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.406e-05/0.5274, allocations: 30.69 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002884/0.5277, allocations: 117.3 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.5278, allocations: 0 / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.486e-06/0.5278, allocations: 3.938 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.5278, allocations: 0 / 0.5344 GB, free: 11.05 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.0007213/0.5285, allocations: 414.8 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.5286, allocations: 9.812 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.566e-05/0.5286, allocations: 8.578 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.529, allocations: 218.4 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.529, allocations: 5.734 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.5291, allocations: 7.281 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.5293, allocations: 53.33 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.5293, allocations: 1.125 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.5293, allocations: 3.938 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.5293, allocations: 1.062 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.493e-05/0.5294, allocations: 19.33 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004807/0.5299, allocations: 288.8 kB / 0.5353 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.5301, allocations: 57.73 kB / 0.5354 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.345e-05/0.5302, allocations: 21.48 kB / 0.5354 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.5302, allocations: 0.8438 kB / 0.5354 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001837/0.5304, allocations: 73.05 kB / 0.5355 GB, free: 9.875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.5304, allocations: 0 / 0.5355 GB, free: 9.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007222/0.5312, allocations: 177.9 kB / 0.5357 GB, free: 9.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.456e-05/0.5312, allocations: 52.69 kB / 0.5357 GB, free: 9.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.5315, allocations: 173.2 kB / 0.5359 GB, free: 9.566 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.5315, allocations: 30.77 kB / 0.5359 GB, free: 9.531 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.793e-05/0.5316, allocations: 95.48 kB / 0.536 GB, free: 9.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.964e-05/0.5317, allocations: 28.03 kB / 0.536 GB, free: 9.414 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.152e-05/0.5317, allocations: 24.31 kB / 0.536 GB, free: 9.391 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.5319, allocations: 326.1 kB / 0.5364 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.659e-05/0.532, allocations: 23.39 kB / 0.5364 GB, free: 9.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.051e-05/0.532, allocations: 39.33 kB / 0.5364 GB, free: 9.023 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.5322, allocations: 58.14 kB / 0.5365 GB, free: 8.984 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.5322, allocations: 5.156 kB / 0.5365 GB, free: 8.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002007/0.5324, allocations: 106.7 kB / 0.5366 GB, free: 8.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.5324, allocations: 6.969 kB / 0.5366 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.5324, allocations: 0.8438 kB / 0.5366 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.5324, allocations: 1.156 kB / 0.5366 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.5325, allocations: 17.11 kB / 0.5366 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.5326, allocations: 1.281 kB / 0.5366 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.592e-05/0.5326, allocations: 5.531 kB / 0.5366 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.5326, allocations: 7.781 kB / 0.5366 GB, free: 8.898 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.000108/0.5327, allocations: 124.3 kB / 0.5367 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.284e-05/0.5328, allocations: 8.922 kB / 0.5367 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.908e-05/0.5328, allocations: 14.44 kB / 0.5368 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.5328, allocations: 3.938 kB / 0.5368 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5328, allocations: 0 / 0.5368 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.5329, allocations: 4.875 kB / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00048/0.5333, allocations: 396.6 kB / 0.5371 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.5334, allocations: 3.938 kB / 0.5371 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.285e-05/0.5334, allocations: 11.75 kB / 0.5372 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.5334, allocations: 1.375 kB / 0.5372 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.5334, allocations: 5.344 kB / 0.5372 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.5334, allocations: 1.344 kB / 0.5372 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5334, allocations: 1.219 kB / 0.5372 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.5337, allocations: 199.5 kB / 0.5374 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.202e-05/0.5338, allocations: 92.44 kB / 0.5374 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.5338, allocations: 9.562 kB / 0.5375 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-05/0.5339, allocations: 6.562 kB / 0.5375 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.5339, allocations: 14.52 kB / 0.5375 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.5339, allocations: 3.75 kB / 0.5375 GB, free: 8.055 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.5341, allocations: 129.4 kB / 0.5376 GB, free: 7.957 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5341, allocations: 0 / 0.5376 GB, free: 7.957 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.5343, allocations: 24.72 kB / 0.5376 GB, free: 7.949 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.001156/0.5355, allocations: 464 kB / 0.5381 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002085/0.5357, allocations: 58.77 kB / 0.5381 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5357, allocations: 0 / 0.5381 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.153e-05/0.5358, allocations: 25.61 kB / 0.5381 GB, free: 7.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.5362, allocations: 40.34 kB / 0.5382 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005529/0.5368, allocations: 204.4 kB / 0.5384 GB, free: 7.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.5371, allocations: 0.6969 MB / 0.5391 GB, free: 6.777 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.629e-05/0.5372, allocations: 22.33 kB / 0.5391 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.51e-05/0.5373, allocations: 19.27 kB / 0.5391 GB, free: 6.75 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.5373, allocations: 0 / 0.5391 GB, free: 6.75 MB / 398.1 MB Notification: Performance of Templates: time 0.005203/0.5425, allocations: 1.728 MB / 0.5408 GB, free: 5.875 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches