Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001718/0.001718, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002094/0.002094, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.559/1.559, allocations: 230.3 MB / 258 MB, free: 8.184 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2601/0.2601, allocations: 46.94 MB / 361.4 MB, free: 4.453 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.CombiTable2Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test11") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002533/0.002533, allocations: 87.83 kB / 0.4972 GB, free: 7.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/0.4391, allocations: 66.03 MB / 0.5617 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test11): time 0.003368/0.4425, allocations: 1.675 MB / 0.5633 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002119/0.4446, allocations: 1.274 MB / 0.5646 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.065e-05/0.4446, allocations: 4 kB / 0.5646 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002353/0.4449, allocations: 23.73 kB / 0.5646 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003209/0.4452, allocations: 83.61 kB / 0.5647 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.4455, allocations: 139.6 kB / 0.5648 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.4457, allocations: 75.77 kB / 0.5649 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.4458, allocations: 10.81 kB / 0.5649 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.86e-05/0.4459, allocations: 35.84 kB / 0.5649 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.446, allocations: 39.34 kB / 0.5649 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.4461, allocations: 4 kB / 0.5649 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.4462, allocations: 107.9 kB / 0.5651 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.531e-05/0.4463, allocations: 15.92 kB / 0.5651 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.824e-05/0.4463, allocations: 23.86 kB / 0.5651 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.4466, allocations: 155.1 kB / 0.5652 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.4466, allocations: 0 / 0.5652 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4466, allocations: 0 / 0.5652 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.4467, allocations: 4 kB / 0.5652 GB, free: 0.8359 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005861/0.4472, allocations: 336.1 kB / 0.5656 GB, free: 488 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.4473, allocations: 8.031 kB / 0.5656 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.987e-05/0.4473, allocations: 8.891 kB / 0.5656 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.4476, allocations: 138.4 kB / 0.5657 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.4476, allocations: 4.312 kB / 0.5657 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.4476, allocations: 12.38 kB / 0.5657 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.4478, allocations: 67.95 kB / 0.5658 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.4478, allocations: 192 / 0.5658 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.4478, allocations: 3.938 kB / 0.5658 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.4478, allocations: 4 kB / 0.5658 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.448, allocations: 31.97 kB / 0.5658 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004755/0.4484, allocations: 275.8 kB / 0.5661 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.4486, allocations: 38.56 kB / 0.5661 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.212e-05/0.4487, allocations: 24.94 kB / 0.5662 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.4487, allocations: 0 / 0.5662 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.4487, allocations: 30.56 kB / 0.5662 GB, free: 15.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.4487, allocations: 4 kB / 0.5662 GB, free: 15.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008222/0.4495, allocations: 217.3 kB / 0.5664 GB, free: 15.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.4496, allocations: 77.11 kB / 0.5665 GB, free: 15.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.4498, allocations: 148.2 kB / 0.5666 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.4498, allocations: 25.7 kB / 0.5666 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.016e-05/0.4499, allocations: 96.12 kB / 0.5667 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.4499, allocations: 27.75 kB / 0.5668 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-05/0.45, allocations: 17.72 kB / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.4501, allocations: 326.8 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.4503, allocations: 35.91 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.4504, allocations: 53.75 kB / 0.5672 GB, free: 14.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.4506, allocations: 76.73 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4506, allocations: 0 / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002657/0.4509, allocations: 113.6 kB / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.4509, allocations: 4 kB / 0.5673 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.4509, allocations: 4 kB / 0.5674 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.4509, allocations: 4 kB / 0.5674 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.451, allocations: 23.86 kB / 0.5674 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.451, allocations: 4 kB / 0.5674 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.98e-05/0.4511, allocations: 7.984 kB / 0.5674 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.4511, allocations: 4.281 kB / 0.5674 GB, free: 14.43 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 (7): * Single equations (assignments): 7 * 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.0001112/0.4512, allocations: 121.8 kB / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.4513, allocations: 7.953 kB / 0.5675 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003824/0.4516, allocations: 126.3 kB / 0.5676 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.4516, allocations: 0 / 0.5676 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4516, allocations: 0 / 0.5676 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.4517, allocations: 4 kB / 0.5676 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005641/0.4522, allocations: 373.5 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4522, allocations: 0 / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.586e-05/0.4523, allocations: 19.98 kB / 0.568 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4523, allocations: 0 / 0.568 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.4523, allocations: 0 / 0.568 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.4523, allocations: 3.938 kB / 0.568 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4523, allocations: 480 / 0.568 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003397/0.4527, allocations: 223.3 kB / 0.5682 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.816e-05/0.4527, allocations: 7.953 kB / 0.5682 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.4527, allocations: 0 / 0.5682 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.267e-05/0.4528, allocations: 15.92 kB / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.4528, allocations: 4 kB / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-06/0.4528, allocations: 11.98 kB / 0.5683 GB, free: 13.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.87e-05/0.4529, allocations: 109.5 kB / 0.5684 GB, free: 13.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4529, allocations: 0 / 0.5684 GB, free: 13.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002943/0.4532, allocations: 43.86 kB / 0.5684 GB, free: 13.29 MB / 414.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 (7): * Single equations (assignments): 7 * 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.001747/0.455, allocations: 485 kB / 0.5689 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003055/0.4553, allocations: 83.86 kB / 0.569 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4553, allocations: 4 kB / 0.569 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.4554, allocations: 39.97 kB / 0.569 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.4558, allocations: 12 kB / 0.569 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005502/0.4563, allocations: 221.6 kB / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.4567, allocations: 0.6963 MB / 0.5699 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.461e-05/0.4568, allocations: 16.28 kB / 0.5699 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.731e-05/0.4568, allocations: 15.44 kB / 0.5699 GB, free: 11.84 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4568, allocations: 0 / 0.5699 GB, free: 11.84 MB / 414.1 MB Notification: Performance of Templates: time 0.005607/0.4625, allocations: 1.92 MB / 0.5718 GB, free: 9.922 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test11.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.637333841063082]