Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.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.001299/0.001299, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001409/0.001409, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.524/1.524, allocations: 230.2 MB / 257.8 MB, free: 8.504 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.241/0.241, allocations: 46.89 MB / 361.1 MB, free: 4.633 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3") [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.002388/0.002388, allocations: 87.88 kB / 0.4968 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3796, allocations: 65.99 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003233/0.3828, allocations: 1.695 MB / 0.5629 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.3839, allocations: 0.5771 MB / 0.5635 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.518e-05/0.384, allocations: 0 / 0.5635 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006066/0.3846, allocations: 459.1 kB / 0.5639 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005203/0.3851, allocations: 295.3 kB / 0.5642 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004258/0.3855, allocations: 139.4 kB / 0.5643 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003125/0.3858, allocations: 167.6 kB / 0.5645 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.386, allocations: 27.02 kB / 0.5645 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.3862, allocations: 111.7 kB / 0.5646 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004061/0.3866, allocations: 259.5 kB / 0.5649 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.3866, allocations: 4 kB / 0.5649 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.3867, allocations: 47.98 kB / 0.5649 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.3869, allocations: 87.62 kB / 0.565 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.387, allocations: 111 kB / 0.5651 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004286/0.3874, allocations: 274.6 kB / 0.5654 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3875, allocations: 0 / 0.5654 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.654e-06/0.3875, allocations: 0 / 0.5654 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.3875, allocations: 3.938 kB / 0.5654 GB, free: 0.8008 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.001086/0.3886, allocations: 0.6724 MB / 0.566 GB, free: 76 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.3886, allocations: 8.031 kB / 0.566 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.295e-05/0.3887, allocations: 48.61 kB / 0.5661 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004046/0.3891, allocations: 300.6 kB / 0.5664 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.3891, allocations: 4.375 kB / 0.5664 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.3891, allocations: 4.375 kB / 0.5664 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.3893, allocations: 66.17 kB / 0.5664 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.3894, allocations: 4.172 kB / 0.5664 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.3894, allocations: 7.938 kB / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.3894, allocations: 8 kB / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.3895, allocations: 31.97 kB / 0.5665 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005805/0.3901, allocations: 408.6 kB / 0.5669 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.3904, allocations: 50.55 kB / 0.5669 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.064e-05/0.3904, allocations: 24.97 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.3905, allocations: 4 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.3905, allocations: 34.56 kB / 0.567 GB, free: 14.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.3905, allocations: 0 / 0.567 GB, free: 14.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001581/0.3921, allocations: 476.3 kB / 0.5674 GB, free: 14.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.3921, allocations: 55.41 kB / 0.5675 GB, free: 14.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009045/0.393, allocations: 0.8652 MB / 0.5683 GB, free: 13.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.3931, allocations: 29.7 kB / 0.5684 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.3932, allocations: 212 kB / 0.5686 GB, free: 13.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.3933, allocations: 39.67 kB / 0.5686 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/0.3933, allocations: 29.7 kB / 0.5686 GB, free: 13.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.3935, allocations: 358.8 kB / 0.569 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.3937, allocations: 43.97 kB / 0.569 GB, free: 12.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.3938, allocations: 44.08 kB / 0.569 GB, free: 12.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.394, allocations: 101 kB / 0.5691 GB, free: 12.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.394, allocations: 0 / 0.5691 GB, free: 12.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003585/0.3944, allocations: 185.2 kB / 0.5693 GB, free: 12.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3944, allocations: 4 kB / 0.5693 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3944, allocations: 3.984 kB / 0.5693 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.3944, allocations: 0 / 0.5693 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.3945, allocations: 23.98 kB / 0.5693 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.3946, allocations: 4.562 kB / 0.5694 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.861e-05/0.3946, allocations: 11.92 kB / 0.5694 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.3946, allocations: 8 kB / 0.5694 GB, free: 12.45 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.0002021/0.3948, allocations: 217.7 kB / 0.5696 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-05/0.3949, allocations: 51.66 kB / 0.5696 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004558/0.3954, allocations: 201.4 kB / 0.5698 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3954, allocations: 0 / 0.5698 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3954, allocations: 0 / 0.5698 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.3954, allocations: 11.94 kB / 0.5698 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008275/0.3962, allocations: 0.5546 MB / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.3962, allocations: 4 kB / 0.5704 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.3963, allocations: 31.92 kB / 0.5704 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3963, allocations: 4.062 kB / 0.5704 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.3963, allocations: 7.984 kB / 0.5704 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3964, allocations: 0 / 0.5704 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3964, allocations: 3.938 kB / 0.5704 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004136/0.3968, allocations: 288.9 kB / 0.5707 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.738e-05/0.3969, allocations: 116.9 kB / 0.5708 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.3969, allocations: 3.938 kB / 0.5708 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.397, allocations: 11.98 kB / 0.5708 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.3971, allocations: 8 kB / 0.5708 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.3971, allocations: 11.97 kB / 0.5708 GB, free: 10.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006439/0.3977, allocations: 0.6472 MB / 0.5715 GB, free: 10.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3977, allocations: 3.938 kB / 0.5715 GB, free: 10.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002913/0.398, allocations: 39.89 kB / 0.5715 GB, free: 10.12 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.001718/0.3997, allocations: 459.8 kB / 0.572 GB, free: 9.844 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003522/0.4001, allocations: 111.8 kB / 0.5721 GB, free: 9.734 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4001, allocations: 0 / 0.5721 GB, free: 9.734 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.4002, allocations: 51.91 kB / 0.5721 GB, free: 9.684 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.4007, allocations: 29.89 kB / 0.5721 GB, free: 9.656 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.402, allocations: 0.8628 MB / 0.573 GB, free: 8.758 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005065/0.4025, allocations: 0.8299 MB / 0.5738 GB, free: 7.902 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.35e-05/0.4025, allocations: 16.55 kB / 0.5738 GB, free: 7.887 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.4026, allocations: 23.38 kB / 0.5738 GB, free: 7.867 MB / 414.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4026, allocations: 0 / 0.5738 GB, free: 7.867 MB / 414.1 MB Notification: Performance of Templates: time 0.005845/0.4084, allocations: 1.901 MB / 0.5757 GB, free: 5.969 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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: 5.3100559040904045]