Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.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.001293/0.001293, allocations: 109 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.001455/0.001455, allocations: 213.9 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.499/1.499, allocations: 230.3 MB / 258 MB, free: 8.195 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.2338/0.2338, allocations: 46.94 MB / 361.4 MB, free: 4.383 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23") [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.002343/0.002343, allocations: 83.84 kB / 0.4972 GB, free: 7.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3869, allocations: 66.04 MB / 0.5617 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.003947/0.3908, allocations: 1.609 MB / 0.5632 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002243/0.3931, allocations: 1.259 MB / 0.5645 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.059e-05/0.3931, allocations: 3.938 kB / 0.5645 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002805/0.3934, allocations: 19.84 kB / 0.5645 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003526/0.3938, allocations: 91.61 kB / 0.5646 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.3941, allocations: 87.22 kB / 0.5647 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.3942, allocations: 75.75 kB / 0.5647 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.3944, allocations: 10.81 kB / 0.5648 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.732e-05/0.3944, allocations: 27.86 kB / 0.5648 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.3946, allocations: 35.84 kB / 0.5648 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.3946, allocations: 4 kB / 0.5648 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.3948, allocations: 103.9 kB / 0.5649 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.55e-05/0.3949, allocations: 7.938 kB / 0.5649 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.83e-05/0.395, allocations: 31.86 kB / 0.565 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.3952, allocations: 139.2 kB / 0.5651 GB, free: 1.004 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3952, allocations: 3.938 kB / 0.5651 GB, free: 1 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3952, allocations: 0 / 0.5651 GB, free: 1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.3952, allocations: 4 kB / 0.5651 GB, free: 0.9961 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.0005604/0.3958, allocations: 325.7 kB / 0.5654 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.3958, allocations: 15.91 kB / 0.5654 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.251e-05/0.3959, allocations: 12.89 kB / 0.5654 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.3961, allocations: 130.4 kB / 0.5656 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-06/0.3961, allocations: 8.375 kB / 0.5656 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.3962, allocations: 384 / 0.5656 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.3963, allocations: 59.97 kB / 0.5656 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3963, allocations: 192 / 0.5656 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.3964, allocations: 7.938 kB / 0.5656 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.403e-06/0.3964, allocations: 3.984 kB / 0.5656 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.443e-05/0.3965, allocations: 27.91 kB / 0.5657 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003987/0.3969, allocations: 256 kB / 0.5659 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.3971, allocations: 42.5 kB / 0.5659 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.28e-05/0.3972, allocations: 13 kB / 0.566 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.3972, allocations: 0 / 0.566 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.3972, allocations: 42.44 kB / 0.566 GB, free: 15.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3972, allocations: 4 kB / 0.566 GB, free: 15.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000601/0.3978, allocations: 133.5 kB / 0.5661 GB, free: 15.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.908e-05/0.3979, allocations: 81.05 kB / 0.5662 GB, free: 15.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.3981, allocations: 145.8 kB / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.3981, allocations: 25.7 kB / 0.5664 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/0.3981, allocations: 92.14 kB / 0.5665 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.3982, allocations: 27.8 kB / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.3982, allocations: 17.7 kB / 0.5665 GB, free: 15.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3984, allocations: 318.8 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.795e-05/0.3984, allocations: 19.98 kB / 0.5668 GB, free: 15.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.704e-05/0.3985, allocations: 33.69 kB / 0.5669 GB, free: 14.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.3987, allocations: 48.88 kB / 0.5669 GB, free: 14.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3987, allocations: 0 / 0.5669 GB, free: 14.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001924/0.3989, allocations: 85.55 kB / 0.567 GB, free: 14.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3989, allocations: 4 kB / 0.567 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3989, allocations: 0 / 0.567 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3989, allocations: 0 / 0.567 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.892e-05/0.399, allocations: 16.23 kB / 0.567 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.399, allocations: 0 / 0.567 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.783e-05/0.399, allocations: 11.94 kB / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.399, allocations: 4 kB / 0.567 GB, free: 14.82 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 (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.0001033/0.3991, allocations: 117.8 kB / 0.5671 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.3992, allocations: 7.953 kB / 0.5671 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002668/0.3994, allocations: 101.9 kB / 0.5672 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3994, allocations: 0 / 0.5672 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.3994, allocations: 0 / 0.5672 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3994, allocations: 0 / 0.5672 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004456/0.3999, allocations: 321.6 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3999, allocations: 0 / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.935e-05/0.3999, allocations: 15.98 kB / 0.5676 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3999, allocations: 0 / 0.5676 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.3999, allocations: 0 / 0.5676 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.4, allocations: 3.984 kB / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.4, allocations: 3.938 kB / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.4002, allocations: 183.4 kB / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.9e-05/0.4002, allocations: 7.953 kB / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.4003, allocations: 4 kB / 0.5677 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.345e-05/0.4003, allocations: 4 kB / 0.5678 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.4004, allocations: 11.92 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.4004, allocations: 0 / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.4005, allocations: 117.9 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4005, allocations: 4 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002939/0.4008, allocations: 35.88 kB / 0.5679 GB, free: 13.8 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 (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.001844/0.4026, allocations: 499.4 kB / 0.5684 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002262/0.4029, allocations: 43.91 kB / 0.5684 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.4029, allocations: 4 kB / 0.5684 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.118e-05/0.4029, allocations: 19.98 kB / 0.5685 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.4033, allocations: 15.98 kB / 0.5685 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004618/0.4038, allocations: 173.5 kB / 0.5686 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.4042, allocations: 0.6924 MB / 0.5693 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.063e-05/0.4042, allocations: 19.69 kB / 0.5693 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.681e-05/0.4043, allocations: 19.42 kB / 0.5694 GB, free: 12.44 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4043, allocations: 4 kB / 0.5694 GB, free: 12.44 MB / 414.1 MB Notification: Performance of Templates: time 0.005428/0.4097, allocations: 1.768 MB / 0.5711 GB, free: 10.68 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.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.246898632496595]