Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.001106/0.001106, allocations: 79.69 kB / 21.7 MB, free: 2.844 MB / 18.57 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.001008/0.001008, allocations: 166.7 kB / 24.99 MB, free: 8.246 MB / 18.57 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.013/1.013, allocations: 177 MB / 205.2 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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.2718/0.2718, allocations: 34.86 MB / 296.6 MB, free: 0.5547 MB / 266.7 MB " [Timeout remaining time 180] 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 378.8 MB, free: 2.324 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.777e-05, allocations: 2.312 kB / 378.8 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002992/0.00302, allocations: 1.953 MB / 380.8 MB, free: 360 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.004846, allocations: 1.044 MB / 381.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.004992, allocations: 0 / 381.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003232/0.005316, allocations: 55.56 kB / 381.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003461/0.005662, allocations: 99.42 kB / 382 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.005962, allocations: 99.58 kB / 382.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002283/0.00619, allocations: 147.5 kB / 382.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.006304, allocations: 17.8 kB / 382.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.006404, allocations: 75.75 kB / 382.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.726e-05/0.006492, allocations: 43.81 kB / 382.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.00651, allocations: 12 kB / 382.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.126e-05/0.006602, allocations: 47.92 kB / 382.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.997e-05/0.006662, allocations: 31.84 kB / 382.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.112e-05/0.006713, allocations: 27.92 kB / 382.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.006946, allocations: 131.4 kB / 382.6 MB, free: 14.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.00695, allocations: 3.984 kB / 382.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.006952, allocations: 0 / 382.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.006957, allocations: 0 / 382.6 MB, free: 14.52 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005676/0.007524, allocations: 0.4935 MB / 383.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.007561, allocations: 12.03 kB / 383.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.954e-05/0.00762, allocations: 28.8 kB / 383.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.007825, allocations: 173.1 kB / 383.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.007846, allocations: 4.375 kB / 383.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.007871, allocations: 12.36 kB / 383.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.008075, allocations: 139.7 kB / 383.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.008085, allocations: 4.188 kB / 383.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.008101, allocations: 8.375 kB / 383.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.00811, allocations: 3.938 kB / 383.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.438e-05/0.008164, allocations: 31.92 kB / 383.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004787/0.008643, allocations: 0.5833 MB / 384.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.008864, allocations: 71.16 kB / 384.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.668e-05/0.0089, allocations: 23.67 kB / 384.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.008914, allocations: 4 kB / 384.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/0.009061, allocations: 110.6 kB / 384.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.415e-06/0.009064, allocations: 0 / 384.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002285/0.009292, allocations: 109.5 kB / 384.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.009324, allocations: 55.41 kB / 384.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.009475, allocations: 247.1 kB / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.00949, allocations: 29.7 kB / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.221e-05/0.009572, allocations: 166.8 kB / 384.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.009594, allocations: 31.73 kB / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.009636, allocations: 31.38 kB / 384.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.009767, allocations: 0.5039 MB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.656e-05/0.009803, allocations: 11.98 kB / 385.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.457e-05/0.009858, allocations: 73.48 kB / 385.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.671e-05/0.009945, allocations: 82.36 kB / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.009948, allocations: 0 / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001463/0.01009, allocations: 117.5 kB / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.01012, allocations: 8 kB / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.01012, allocations: 0 / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.01014, allocations: 4.125 kB / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.297e-05/0.01021, allocations: 23.94 kB / 385.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.01022, allocations: 3.984 kB / 385.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.752e-05/0.01026, allocations: 11.94 kB / 385.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/0.01027, allocations: 8 kB / 385.8 MB, free: 11.04 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.126e-05/0.01035, allocations: 164.5 kB / 385.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.01037, allocations: 15.91 kB / 386 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.01053, allocations: 103.1 kB / 386.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.01053, allocations: 4 kB / 386.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.01054, allocations: 0 / 386.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.01054, allocations: 7.984 kB / 386.1 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.01066, allocations: 164.5 kB / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01066, allocations: 0 / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.694e-05/0.01072, allocations: 15.92 kB / 386.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.01072, allocations: 0 / 386.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.01073, allocations: 8 kB / 386.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01073, allocations: 0 / 386.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01073, allocations: 0 / 386.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.01092, allocations: 160.8 kB / 386.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.946e-05/0.01094, allocations: 19.84 kB / 386.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.01096, allocations: 0 / 386.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.596e-05/0.01099, allocations: 16.02 kB / 386.4 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.01103, allocations: 7.984 kB / 386.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.01105, allocations: 4 kB / 386.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.405e-05/0.01113, allocations: 175.1 kB / 386.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01113, allocations: 0 / 386.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001666/0.0113, allocations: 27.94 kB / 386.7 MB, free: 10.1 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0008869/0.01218, allocations: 382 kB / 387 MB, free: 9.832 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001387/0.01232, allocations: 63.53 kB / 387.1 MB, free: 9.766 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01232, allocations: 0 / 387.1 MB, free: 9.766 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.394e-05/0.01237, allocations: 31.86 kB / 387.1 MB, free: 9.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.01258, allocations: 44.28 kB / 387.2 MB, free: 9.688 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004268/0.01301, allocations: 261.9 kB / 387.4 MB, free: 9.406 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.823e-05/0.01305, allocations: 71.83 kB / 387.5 MB, free: 9.316 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003026/0.01335, allocations: 17.47 kB / 387.5 MB, free: 9.297 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.01338, allocations: 16.5 kB / 387.5 MB, free: 9.281 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01338, allocations: 0 / 387.5 MB, free: 9.281 MB / 362.7 MB Notification: Performance of Templates: time 0.004241/0.01763, allocations: 2.059 MB / 389.6 MB, free: 7.258 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.153491989010945]