Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.00145/0.00145, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.001595/0.001595, allocations: 216.4 kB / 23.73 MB, free: 4.531 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.567/1.567, allocations: 230.5 MB / 257.4 MB, free: 7.793 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.2503/0.2503, allocations: 46.95 MB / 360.8 MB, free: 3.938 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.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002531/0.002531, allocations: 79.88 kB / 0.4967 GB, free: 6.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4843/0.4868, allocations: 66.09 MB / 0.5612 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003582/0.4904, allocations: 1.671 MB / 0.5629 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.4923, allocations: 0.9515 MB / 0.5638 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.524e-05/0.4924, allocations: 0 / 0.5638 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003626/0.4928, allocations: 67.72 kB / 0.5639 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003726/0.4931, allocations: 107.6 kB / 0.564 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.4933, allocations: 67.69 kB / 0.564 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000223/0.4936, allocations: 107.7 kB / 0.5641 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.643e-05/0.4936, allocations: 4.234 kB / 0.5641 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.988e-05/0.4937, allocations: 47.78 kB / 0.5642 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.4939, allocations: 55.75 kB / 0.5642 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.4939, allocations: 4 kB / 0.5642 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.494, allocations: 35.98 kB / 0.5643 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.475e-05/0.4941, allocations: 19.91 kB / 0.5643 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.998e-05/0.4941, allocations: 23.81 kB / 0.5643 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.4944, allocations: 114 kB / 0.5644 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.4944, allocations: 0 / 0.5644 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4944, allocations: 0 / 0.5644 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.4944, allocations: 0 / 0.5644 GB, free: 0.6719 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007647/0.4952, allocations: 341.5 kB / 0.5647 GB, free: 316 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.4952, allocations: 16.03 kB / 0.5648 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.773e-05/0.4953, allocations: 12.84 kB / 0.5648 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.4956, allocations: 147.1 kB / 0.5649 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.4956, allocations: 384 / 0.5649 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.4957, allocations: 8.344 kB / 0.5649 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.4958, allocations: 50 kB / 0.565 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.4959, allocations: 0 / 0.565 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.4959, allocations: 3.984 kB / 0.565 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.4959, allocations: 0 / 0.565 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.836e-05/0.496, allocations: 19.98 kB / 0.565 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002643/0.4962, allocations: 133.2 kB / 0.5651 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.4964, allocations: 54.62 kB / 0.5652 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.6e-05/0.4965, allocations: 16.84 kB / 0.5652 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.4965, allocations: 4 kB / 0.5652 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/0.4967, allocations: 63.39 kB / 0.5653 GB, free: 15.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.4967, allocations: 0 / 0.5653 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003492/0.497, allocations: 109.5 kB / 0.5654 GB, free: 15.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.4971, allocations: 51.41 kB / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.4973, allocations: 206.3 kB / 0.5656 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.4974, allocations: 29.7 kB / 0.5656 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.035e-05/0.4974, allocations: 104.1 kB / 0.5657 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/0.4975, allocations: 15.91 kB / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.4975, allocations: 17.72 kB / 0.5658 GB, free: 15.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.4977, allocations: 322.8 kB / 0.5661 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.522e-05/0.4978, allocations: 15.98 kB / 0.5661 GB, free: 14.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.886e-05/0.4978, allocations: 33.7 kB / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.4979, allocations: 45.64 kB / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.4979, allocations: 8 kB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001567/0.4981, allocations: 85.78 kB / 0.5663 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.4981, allocations: 11.94 kB / 0.5663 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.4981, allocations: 3.938 kB / 0.5663 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.4981, allocations: 0 / 0.5663 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.4983, allocations: 11.98 kB / 0.5663 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/0.4983, allocations: 4 kB / 0.5663 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.699e-05/0.4983, allocations: 3.938 kB / 0.5663 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.4983, allocations: 4 kB / 0.5663 GB, free: 14.57 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.0001396/0.4985, allocations: 132.2 kB / 0.5664 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.4985, allocations: 11.89 kB / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/0.4987, allocations: 98.69 kB / 0.5665 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4987, allocations: 0 / 0.5665 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4987, allocations: 0 / 0.5665 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.4987, allocations: 7.938 kB / 0.5665 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.4989, allocations: 133.2 kB / 0.5667 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4989, allocations: 0 / 0.5667 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.529e-05/0.4989, allocations: 4 kB / 0.5667 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.4989, allocations: 0 / 0.5667 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.4989, allocations: 3.938 kB / 0.5667 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.4989, allocations: 4 kB / 0.5667 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4989, allocations: 4 kB / 0.5667 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.4992, allocations: 117 kB / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.545e-05/0.4992, allocations: 15.91 kB / 0.5668 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.4992, allocations: 3.938 kB / 0.5668 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.725e-05/0.4992, allocations: 4 kB / 0.5668 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.4993, allocations: 7.969 kB / 0.5668 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.4993, allocations: 4.188 kB / 0.5668 GB, free: 13.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001627/0.4995, allocations: 148.2 kB / 0.567 GB, free: 13.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4995, allocations: 0 / 0.567 GB, free: 13.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002174/0.4997, allocations: 24 kB / 0.567 GB, free: 13.79 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001686/0.5014, allocations: 432.9 kB / 0.5674 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000189/0.5016, allocations: 51.91 kB / 0.5674 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.5016, allocations: 0 / 0.5674 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.347e-05/0.5016, allocations: 16 kB / 0.5675 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.5019, allocations: 31.34 kB / 0.5675 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005258/0.5024, allocations: 205.9 kB / 0.5677 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.5026, allocations: 93.62 kB / 0.5678 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.757e-05/0.5026, allocations: 20.33 kB / 0.5678 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.5026, allocations: 19.44 kB / 0.5678 GB, free: 13.04 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5027, allocations: 0 / 0.5678 GB, free: 13.04 MB / 414.1 MB Notification: Performance of Templates: time 0.005696/0.5083, allocations: 1.684 MB / 0.5695 GB, free: 11.38 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.4162144642323256]