Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001324/0.001324, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001427/0.001427, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.526/1.526, allocations: 230.6 MB / 258.3 MB, free: 7.984 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.2283/0.2283, allocations: 44.91 MB / 359.6 MB, free: 6.375 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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") [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.002052/0.002052, allocations: 65.78 kB / 0.4943 GB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3458, allocations: 65.46 MB / 0.5583 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003234/0.349, allocations: 1.703 MB / 0.5599 GB, free: 6.016 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.3502, allocations: 0.6049 MB / 0.5605 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.186e-05/0.3503, allocations: 4 kB / 0.5605 GB, free: 5.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006099/0.3509, allocations: 451.1 kB / 0.561 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000474/0.3514, allocations: 295.3 kB / 0.5612 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004479/0.3518, allocations: 175.3 kB / 0.5614 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002705/0.3521, allocations: 195.6 kB / 0.5616 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.3522, allocations: 8.234 kB / 0.5616 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.3523, allocations: 127.6 kB / 0.5617 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002915/0.3526, allocations: 247.5 kB / 0.562 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.3526, allocations: 7.938 kB / 0.562 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.3527, allocations: 47.98 kB / 0.562 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.3529, allocations: 91.67 kB / 0.5621 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.648e-05/0.353, allocations: 103 kB / 0.5622 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003659/0.3533, allocations: 292.9 kB / 0.5625 GB, free: 3.406 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3533, allocations: 0 / 0.5625 GB, free: 3.406 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3533, allocations: 0 / 0.5625 GB, free: 3.406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3533, allocations: 0 / 0.5625 GB, free: 3.406 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008185/0.3541, allocations: 0.597 MB / 0.5631 GB, free: 2.777 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3542, allocations: 8.031 kB / 0.5631 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.91e-05/0.3543, allocations: 44.66 kB / 0.5631 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.3546, allocations: 250.8 kB / 0.5634 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.3546, allocations: 12.31 kB / 0.5634 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.3546, allocations: 4.375 kB / 0.5634 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.3548, allocations: 73.72 kB / 0.5634 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.3548, allocations: 0 / 0.5634 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.3548, allocations: 0 / 0.5634 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3548, allocations: 4 kB / 0.5634 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.355, allocations: 43.95 kB / 0.5635 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005873/0.3555, allocations: 391.6 kB / 0.5639 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.3558, allocations: 58.55 kB / 0.5639 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.304e-05/0.3559, allocations: 24.97 kB / 0.5639 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.3559, allocations: 7.984 kB / 0.5639 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.3559, allocations: 38.59 kB / 0.564 GB, free: 1.742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.3559, allocations: 0 / 0.564 GB, free: 1.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001586/0.3575, allocations: 0.4964 MB / 0.5645 GB, free: 1.238 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.3576, allocations: 59.34 kB / 0.5645 GB, free: 1.168 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008861/0.3585, allocations: 0.8652 MB / 0.5654 GB, free: 296 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.3585, allocations: 29.7 kB / 0.5654 GB, free: 260 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.3587, allocations: 212.1 kB / 0.5656 GB, free: 44 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.129e-05/0.3587, allocations: 35.69 kB / 0.5656 GB, free: 8 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.472e-05/0.3588, allocations: 33.7 kB / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.359, allocations: 358.8 kB / 0.566 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.3591, allocations: 51.95 kB / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.3592, allocations: 59.89 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.3595, allocations: 133 kB / 0.5662 GB, free: 15.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3595, allocations: 0 / 0.5662 GB, free: 15.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000381/0.3599, allocations: 197.3 kB / 0.5664 GB, free: 15.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3599, allocations: 8 kB / 0.5664 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3599, allocations: 8.484 kB / 0.5664 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3599, allocations: 0 / 0.5664 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.3601, allocations: 27.92 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3601, allocations: 0 / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.93e-05/0.3601, allocations: 15.98 kB / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.3602, allocations: 8 kB / 0.5665 GB, free: 15.1 MB / 414.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 (11): * Single equations (assignments): 11 * 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.0002122/0.3604, allocations: 217.7 kB / 0.5667 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.473e-05/0.3604, allocations: 47.72 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004801/0.3609, allocations: 225.4 kB / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.3609, allocations: 7.938 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3609, allocations: 0 / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3609, allocations: 0 / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008781/0.3618, allocations: 0.5732 MB / 0.5675 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3618, allocations: 0 / 0.5675 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.3619, allocations: 31.91 kB / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.3619, allocations: 7.938 kB / 0.5676 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.3619, allocations: 4 kB / 0.5676 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.3619, allocations: 4 kB / 0.5676 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3619, allocations: 0 / 0.5676 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004299/0.3624, allocations: 304.9 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.414e-05/0.3624, allocations: 35.72 kB / 0.5679 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.3625, allocations: 0 / 0.5679 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.3626, allocations: 20.08 kB / 0.5679 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.3626, allocations: 15.86 kB / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.3626, allocations: 4 kB / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006742/0.3633, allocations: 0.655 MB / 0.5686 GB, free: 12.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3633, allocations: 0 / 0.5686 GB, free: 12.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002866/0.3636, allocations: 32 kB / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001784/0.3654, allocations: 465.1 kB / 0.5691 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003686/0.3657, allocations: 123.8 kB / 0.5692 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3657, allocations: 4 kB / 0.5692 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.3659, allocations: 67.89 kB / 0.5692 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.3663, allocations: 30.23 kB / 0.5693 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.3677, allocations: 0.9154 MB / 0.5702 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004797/0.3682, allocations: 0.8377 MB / 0.571 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.3682, allocations: 19.44 kB / 0.571 GB, free: 10.51 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3682, allocations: 0 / 0.571 GB, free: 10.51 MB / 414.1 MB Notification: Performance of Templates: time 0.008085/0.3763, allocations: 4.253 MB / 0.5752 GB, free: 6.25 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.910659943008795]