Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 106.2 kB / 19.81 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 191.4 kB / 22.98 MB, free: 5.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 225.6 MB / 251.6 MB, free: 13.32 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2312/0.2312, allocations: 44.92 MB / 351.6 MB, free: 12.21 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 63.91 kB / 495.3 MB, free: 1.832 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4395/0.4414, allocations: 64.25 MB / 0.5464 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003614/0.445, allocations: 1.588 MB / 0.548 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009163/0.4459, allocations: 405.3 kB / 0.5483 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.719e-05/0.446, allocations: 13.03 kB / 0.5484 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002502/0.4462, allocations: 27 kB / 0.5484 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.4464, allocations: 34.84 kB / 0.5484 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.4467, allocations: 89.92 kB / 0.5485 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.4469, allocations: 50.97 kB / 0.5485 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.447, allocations: 19.27 kB / 0.5486 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.15e-05/0.4471, allocations: 27.38 kB / 0.5486 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.504e-05/0.4471, allocations: 17.81 kB / 0.5486 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.4471, allocations: 2.156 kB / 0.5486 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.711e-05/0.4472, allocations: 35.45 kB / 0.5486 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.266e-05/0.4473, allocations: 21.33 kB / 0.5487 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.407e-05/0.4473, allocations: 24.17 kB / 0.5487 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.4475, allocations: 73.59 kB / 0.5488 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4476, allocations: 0 / 0.5488 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4476, allocations: 0 / 0.5488 GB, free: 11.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.4476, allocations: 0 / 0.5488 GB, free: 11.38 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006013/0.4482, allocations: 385.4 kB / 0.5491 GB, free: 10.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.4482, allocations: 12.81 kB / 0.5491 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.4483, allocations: 13.03 kB / 0.5491 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.4485, allocations: 188.3 kB / 0.5493 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.264e-06/0.4485, allocations: 1.75 kB / 0.5493 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.4485, allocations: 9.781 kB / 0.5493 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.4487, allocations: 48.78 kB / 0.5494 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.4487, allocations: 0 / 0.5494 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.4487, allocations: 1.375 kB / 0.5494 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.4487, allocations: 0 / 0.5494 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.4488, allocations: 28.56 kB / 0.5494 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004186/0.4492, allocations: 276.5 kB / 0.5497 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.4495, allocations: 50.41 kB / 0.5497 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.417e-05/0.4495, allocations: 14.11 kB / 0.5497 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.4495, allocations: 1.125 kB / 0.5497 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.4496, allocations: 36.06 kB / 0.5498 GB, free: 10.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.4496, allocations: 0 / 0.5498 GB, free: 10.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005685/0.4501, allocations: 136.5 kB / 0.5499 GB, free: 10.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.4502, allocations: 55.39 kB / 0.55 GB, free: 10.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.4504, allocations: 165 kB / 0.5501 GB, free: 10.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.4504, allocations: 29.69 kB / 0.5501 GB, free: 9.977 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/0.4505, allocations: 104.2 kB / 0.5502 GB, free: 9.875 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.4505, allocations: 14.16 kB / 0.5503 GB, free: 9.863 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.4505, allocations: 17.89 kB / 0.5503 GB, free: 9.844 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.4507, allocations: 321.5 kB / 0.5506 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.537e-05/0.4508, allocations: 17.89 kB / 0.5506 GB, free: 9.516 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.666e-05/0.4508, allocations: 19.02 kB / 0.5506 GB, free: 9.508 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.451, allocations: 51.58 kB / 0.5507 GB, free: 9.477 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.451, allocations: 192 / 0.5507 GB, free: 9.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001881/0.4512, allocations: 84.5 kB / 0.5507 GB, free: 9.418 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.4512, allocations: 5.531 kB / 0.5508 GB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.4512, allocations: 7.922 kB / 0.5508 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.4512, allocations: 5.344 kB / 0.5508 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.768e-05/0.4513, allocations: 8.906 kB / 0.5508 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.4513, allocations: 1.344 kB / 0.5508 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.899e-05/0.4513, allocations: 10.7 kB / 0.5508 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-06/0.4513, allocations: 1.344 kB / 0.5508 GB, free: 9.398 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001149/0.4514, allocations: 125.2 kB / 0.5509 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.4514, allocations: 6.891 kB / 0.5509 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002398/0.4517, allocations: 89.44 kB / 0.551 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.4517, allocations: 1.469 kB / 0.551 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.4517, allocations: 3.984 kB / 0.551 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4517, allocations: 4 kB / 0.551 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006418/0.4523, allocations: 351.7 kB / 0.5513 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4523, allocations: 0 / 0.5513 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.504e-05/0.4524, allocations: 13.58 kB / 0.5514 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.4524, allocations: 0 / 0.5514 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.4524, allocations: 0.875 kB / 0.5514 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-06/0.4524, allocations: 5.031 kB / 0.5514 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4524, allocations: 0 / 0.5514 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.4527, allocations: 176.6 kB / 0.5515 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.174e-05/0.4527, allocations: 82.69 kB / 0.5516 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.4528, allocations: 9.047 kB / 0.5516 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.615e-05/0.4528, allocations: 7 kB / 0.5516 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.4529, allocations: 6.219 kB / 0.5516 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.4529, allocations: 4.875 kB / 0.5516 GB, free: 8.559 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.453, allocations: 135 kB / 0.5518 GB, free: 8.457 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.453, allocations: 0 / 0.5518 GB, free: 8.457 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.4532, allocations: 14.25 kB / 0.5518 GB, free: 8.453 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.00151/0.4548, allocations: 405.3 kB / 0.5522 GB, free: 8.254 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002663/0.455, allocations: 39.59 kB / 0.5522 GB, free: 8.242 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.455, allocations: 4 kB / 0.5522 GB, free: 8.238 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.478e-05/0.4551, allocations: 26.45 kB / 0.5522 GB, free: 8.227 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004681/0.4556, allocations: 22.06 kB / 0.5522 GB, free: 8.219 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006832/0.4563, allocations: 193.4 kB / 0.5524 GB, free: 8.059 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000489/0.4568, allocations: 0.6992 MB / 0.5531 GB, free: 7.348 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.198e-05/0.4568, allocations: 16.48 kB / 0.5531 GB, free: 7.336 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.632e-05/0.4569, allocations: 12.06 kB / 0.5531 GB, free: 7.328 MB / 398.1 MB Notification: Performance of SimCode: time 1.783e-06/0.4569, allocations: 0 / 0.5531 GB, free: 7.328 MB / 398.1 MB Notification: Performance of Templates: time 0.006188/0.4631, allocations: 1.118 MB / 0.5542 GB, free: 6.746 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.543383756652474]