Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.001775/0.001775, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.002146/0.002146, allocations: 213.5 kB / 24.5 MB, free: 4.148 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.517/1.517, allocations: 230.5 MB / 258.1 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2556/0.2556, allocations: 46.92 MB / 361.5 MB, free: 4.164 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 75.86 kB / 0.4974 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.375, allocations: 66.09 MB / 0.562 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003061/0.378, allocations: 1.636 MB / 0.5636 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.3791, allocations: 0.5616 MB / 0.5641 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.659e-05/0.3792, allocations: 0 / 0.5641 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002908/0.3795, allocations: 75.77 kB / 0.5642 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.3798, allocations: 99.59 kB / 0.5643 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.3801, allocations: 114.8 kB / 0.5644 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.3803, allocations: 91.73 kB / 0.5645 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.3804, allocations: 11.66 kB / 0.5645 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.512e-05/0.3805, allocations: 39.83 kB / 0.5645 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.3806, allocations: 55.83 kB / 0.5646 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.3806, allocations: 7.984 kB / 0.5646 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.3807, allocations: 43.92 kB / 0.5646 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.383e-05/0.3808, allocations: 15.94 kB / 0.5647 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.652e-05/0.3808, allocations: 31.8 kB / 0.5647 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.381, allocations: 110.2 kB / 0.5648 GB, free: 1.312 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.381, allocations: 0 / 0.5648 GB, free: 1.312 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.381, allocations: 4 kB / 0.5648 GB, free: 1.309 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.381, allocations: 0 / 0.5648 GB, free: 1.309 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.0005131/0.3816, allocations: 333.6 kB / 0.5651 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3816, allocations: 8.031 kB / 0.5651 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.3816, allocations: 12.84 kB / 0.5651 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.3818, allocations: 143.7 kB / 0.5653 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.3819, allocations: 4.375 kB / 0.5653 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.3819, allocations: 384 / 0.5653 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.382, allocations: 66.17 kB / 0.5653 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.382, allocations: 4.188 kB / 0.5653 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.3821, allocations: 3.938 kB / 0.5653 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.3821, allocations: 0 / 0.5653 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.3822, allocations: 27.97 kB / 0.5654 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.3826, allocations: 275.8 kB / 0.5656 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.3827, allocations: 54.48 kB / 0.5657 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.183e-05/0.3828, allocations: 16.86 kB / 0.5657 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.3828, allocations: 0 / 0.5657 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.3828, allocations: 38.58 kB / 0.5657 GB, free: 220 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.3828, allocations: 0 / 0.5657 GB, free: 220 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009334/0.3838, allocations: 241.5 kB / 0.566 GB, free: 15.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.3838, allocations: 55.41 kB / 0.566 GB, free: 15.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.384, allocations: 195.3 kB / 0.5662 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.3841, allocations: 29.7 kB / 0.5662 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.705e-05/0.3841, allocations: 104.1 kB / 0.5663 GB, free: 15.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.3842, allocations: 31.69 kB / 0.5664 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/0.3842, allocations: 29.7 kB / 0.5664 GB, free: 15.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3844, allocations: 326.8 kB / 0.5667 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.383e-05/0.3844, allocations: 27.98 kB / 0.5667 GB, free: 15.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.46e-05/0.3845, allocations: 31.97 kB / 0.5668 GB, free: 15.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.3847, allocations: 72.89 kB / 0.5668 GB, free: 15.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.3847, allocations: 0 / 0.5668 GB, free: 15.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002198/0.3849, allocations: 109.6 kB / 0.5669 GB, free: 14.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3849, allocations: 4 kB / 0.5669 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3849, allocations: 0 / 0.5669 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.385, allocations: 11.92 kB / 0.567 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.3851, allocations: 15.94 kB / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3851, allocations: 0 / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.63e-05/0.3851, allocations: 11.98 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.3851, allocations: 4 kB / 0.567 GB, free: 14.87 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 (8): * Single equations (assignments): 8 * 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.0001137/0.3852, allocations: 129.8 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.3853, allocations: 11.91 kB / 0.5671 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003066/0.3856, allocations: 131.3 kB / 0.5672 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3856, allocations: 3.938 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3856, allocations: 0 / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3856, allocations: 7.984 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005688/0.3861, allocations: 386.3 kB / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3862, allocations: 0 / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.6e-05/0.3862, allocations: 19.98 kB / 0.5676 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.3862, allocations: 3.938 kB / 0.5677 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/0.3863, allocations: 11.94 kB / 0.5677 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.3863, allocations: 0 / 0.5677 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3863, allocations: 0 / 0.5677 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.3865, allocations: 224.2 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.979e-05/0.3866, allocations: 11.95 kB / 0.5679 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.3866, allocations: 3.938 kB / 0.5679 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.48e-05/0.3867, allocations: 7.984 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.3867, allocations: 4 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.3867, allocations: 0 / 0.5679 GB, free: 13.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000132/0.3868, allocations: 156.9 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3868, allocations: 4 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.3871, allocations: 27.92 kB / 0.5681 GB, free: 13.65 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001653/0.3887, allocations: 442.1 kB / 0.5685 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002549/0.389, allocations: 79.88 kB / 0.5686 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.389, allocations: 3.938 kB / 0.5686 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.456e-05/0.3891, allocations: 35.97 kB / 0.5686 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.3895, allocations: 19.88 kB / 0.5686 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006024/0.3901, allocations: 296.9 kB / 0.5689 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.3904, allocations: 0.708 MB / 0.5696 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.184e-05/0.3905, allocations: 15.44 kB / 0.5696 GB, free: 12.17 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3905, allocations: 0 / 0.5696 GB, free: 12.17 MB / 414.1 MB Notification: Performance of Templates: time 0.003901/0.3944, allocations: 1.79 MB / 0.5714 GB, free: 10.38 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.907966176047921]