Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 215.6 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.509/1.509, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.2372/0.2372, allocations: 44.93 MB / 359.6 MB, free: 6.16 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.Test7") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002192/0.002192, allocations: 67.89 kB / 0.4943 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3473, allocations: 65.48 MB / 0.5582 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003226/0.3505, allocations: 1.586 MB / 0.5598 GB, free: 5.906 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.3517, allocations: 0.5192 MB / 0.5603 GB, free: 5.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.849e-05/0.3518, allocations: 0 / 0.5603 GB, free: 5.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002119/0.352, allocations: 19.86 kB / 0.5603 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002934/0.3523, allocations: 87.61 kB / 0.5604 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.3525, allocations: 79.77 kB / 0.5604 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.3527, allocations: 71.77 kB / 0.5605 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.3528, allocations: 15.64 kB / 0.5605 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.599e-05/0.3529, allocations: 19.88 kB / 0.5605 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.414e-05/0.3529, allocations: 23.86 kB / 0.5606 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.3529, allocations: 4 kB / 0.5606 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.328e-05/0.353, allocations: 35.97 kB / 0.5606 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.486e-05/0.3531, allocations: 11.94 kB / 0.5606 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.454e-05/0.3531, allocations: 23.86 kB / 0.5606 GB, free: 5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.3533, allocations: 86.47 kB / 0.5607 GB, free: 4.918 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3533, allocations: 3.938 kB / 0.5607 GB, free: 4.914 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3533, allocations: 0 / 0.5607 GB, free: 4.914 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.3533, allocations: 0 / 0.5607 GB, free: 4.914 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.0004544/0.3538, allocations: 313.8 kB / 0.561 GB, free: 4.578 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.3538, allocations: 8.031 kB / 0.561 GB, free: 4.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.3538, allocations: 8.891 kB / 0.561 GB, free: 4.562 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.354, allocations: 134.4 kB / 0.5612 GB, free: 4.406 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.354, allocations: 4.375 kB / 0.5612 GB, free: 4.402 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.354, allocations: 8.375 kB / 0.5612 GB, free: 4.395 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.3542, allocations: 49.81 kB / 0.5612 GB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3542, allocations: 0 / 0.5612 GB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.3542, allocations: 0 / 0.5612 GB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.3542, allocations: 7.938 kB / 0.5612 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.43e-05/0.3543, allocations: 23.92 kB / 0.5613 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003199/0.3546, allocations: 228.5 kB / 0.5615 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.3548, allocations: 42.55 kB / 0.5615 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.587e-05/0.3549, allocations: 20.86 kB / 0.5615 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.3549, allocations: 0 / 0.5615 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.3549, allocations: 34.5 kB / 0.5616 GB, free: 3.938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.3549, allocations: 0 / 0.5616 GB, free: 3.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005603/0.3555, allocations: 145.5 kB / 0.5617 GB, free: 3.789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.3555, allocations: 55.34 kB / 0.5618 GB, free: 3.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.3557, allocations: 161.8 kB / 0.5619 GB, free: 3.555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.3557, allocations: 25.7 kB / 0.5619 GB, free: 3.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.4e-05/0.3558, allocations: 96.14 kB / 0.562 GB, free: 3.426 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.3558, allocations: 23.84 kB / 0.5621 GB, free: 3.402 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.3559, allocations: 13.72 kB / 0.5621 GB, free: 3.383 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.356, allocations: 326.8 kB / 0.5624 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.928e-05/0.3561, allocations: 15.98 kB / 0.5624 GB, free: 3.039 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.992e-05/0.3561, allocations: 19.98 kB / 0.5624 GB, free: 3.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.3563, allocations: 44.83 kB / 0.5625 GB, free: 2.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3563, allocations: 0 / 0.5625 GB, free: 2.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000186/0.3564, allocations: 85.62 kB / 0.5625 GB, free: 2.883 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.3565, allocations: 7.938 kB / 0.5625 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.3565, allocations: 0 / 0.5625 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.3565, allocations: 0 / 0.5625 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.818e-05/0.3565, allocations: 15.98 kB / 0.5626 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.3565, allocations: 0 / 0.5626 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.438e-05/0.3566, allocations: 4 kB / 0.5626 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.3566, allocations: 3.938 kB / 0.5626 GB, free: 2.852 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 9.908e-05/0.3567, allocations: 129.8 kB / 0.5627 GB, free: 2.715 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.3567, allocations: 7.953 kB / 0.5627 GB, free: 2.707 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.357, allocations: 98.3 kB / 0.5628 GB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.357, allocations: 3.938 kB / 0.5628 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.357, allocations: 0 / 0.5628 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.357, allocations: 4 kB / 0.5628 GB, free: 2.586 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004164/0.3574, allocations: 286.2 kB / 0.5631 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3574, allocations: 3.938 kB / 0.5631 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.282e-05/0.3575, allocations: 19.98 kB / 0.5631 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3575, allocations: 0 / 0.5631 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.3575, allocations: 288 / 0.5631 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3575, allocations: 0 / 0.5631 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3575, allocations: 3.938 kB / 0.5631 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00029/0.3578, allocations: 183.4 kB / 0.5633 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.503e-05/0.3578, allocations: 7.938 kB / 0.5633 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.3578, allocations: 0 / 0.5633 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.733e-05/0.3579, allocations: 11.98 kB / 0.5633 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.3579, allocations: 11.94 kB / 0.5633 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.3579, allocations: 0 / 0.5633 GB, free: 2.016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001293/0.3581, allocations: 124.9 kB / 0.5634 GB, free: 1.895 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3581, allocations: 0 / 0.5634 GB, free: 1.895 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.3583, allocations: 23.94 kB / 0.5635 GB, free: 1.871 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.001672/0.36, allocations: 433.8 kB / 0.5639 GB, free: 1.629 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002125/0.3602, allocations: 51.89 kB / 0.5639 GB, free: 1.578 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3602, allocations: 4 kB / 0.5639 GB, free: 1.574 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.607e-05/0.3603, allocations: 27.92 kB / 0.5639 GB, free: 1.547 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.3607, allocations: 11.98 kB / 0.564 GB, free: 1.535 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004952/0.3611, allocations: 215.8 kB / 0.5642 GB, free: 1.289 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.397e-05/0.3612, allocations: 83.08 kB / 0.5642 GB, free: 1.188 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/0.3613, allocations: 19.42 kB / 0.5643 GB, free: 1.168 MB / 398.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3613, allocations: 4 kB / 0.5643 GB, free: 1.164 MB / 398.1 MB Notification: Performance of Templates: time 0.003592/0.3649, allocations: 1.468 MB / 0.5657 GB, free: 15.69 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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: 7.937391738872975]