Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.001502/0.001502, allocations: 88.34 kB / 22.22 MB, free: 2.281 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.001376/0.001376, allocations: 166.1 kB / 25.61 MB, free: 8.594 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.05/1.05, allocations: 177 MB / 205.9 MB, free: 4.449 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.1514/0.1514, allocations: 34.88 MB / 297.4 MB, free: 13.33 MB / 282.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.667e-05/3.876e-05, allocations: 5.938 kB / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003761/0.003799, allocations: 1.944 MB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.00555, allocations: 1.024 MB / 383.1 MB, free: 19.68 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.005712, allocations: 7.938 kB / 383.1 MB, free: 19.67 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004117/0.006124, allocations: 39.7 kB / 383.1 MB, free: 19.63 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004105/0.006534, allocations: 111.3 kB / 383.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.006861, allocations: 99.58 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.007097, allocations: 147.5 kB / 383.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.007224, allocations: 29.78 kB / 383.5 MB, free: 19.25 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.007355, allocations: 71.81 kB / 383.5 MB, free: 19.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.007471, allocations: 39.83 kB / 383.6 MB, free: 19.14 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.007493, allocations: 8 kB / 383.6 MB, free: 19.13 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.007603, allocations: 47.92 kB / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.007664, allocations: 35.84 kB / 383.7 MB, free: 19.05 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.457e-05/0.007718, allocations: 27.92 kB / 383.7 MB, free: 19.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.007983, allocations: 127.5 kB / 383.8 MB, free: 18.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.007989, allocations: 0 / 383.8 MB, free: 18.9 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.007991, allocations: 0 / 383.8 MB, free: 18.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.007998, allocations: 0 / 383.8 MB, free: 18.9 MB / 314.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.0005265/0.008524, allocations: 0.5051 MB / 384.3 MB, free: 18.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.008564, allocations: 8.031 kB / 384.3 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.366e-05/0.008628, allocations: 32.78 kB / 384.4 MB, free: 18.31 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.00883, allocations: 173.1 kB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.008851, allocations: 8.375 kB / 384.6 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.008874, allocations: 4.375 kB / 384.6 MB, free: 18.1 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.009058, allocations: 141 kB / 384.7 MB, free: 17.94 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.009068, allocations: 4.188 kB / 384.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.009078, allocations: 384 / 384.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.009085, allocations: 3.938 kB / 384.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.272e-05/0.009138, allocations: 23.98 kB / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.009537, allocations: 0.5488 MB / 385.3 MB, free: 17.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.00974, allocations: 79 kB / 385.4 MB, free: 17.23 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.147e-05/0.009772, allocations: 23.69 kB / 385.4 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.009785, allocations: 0 / 385.4 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/0.009905, allocations: 102.7 kB / 385.5 MB, free: 17.08 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.009907, allocations: 0 / 385.5 MB, free: 17.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.000217/0.01012, allocations: 97.52 kB / 385.6 MB, free: 16.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.01015, allocations: 59.41 kB / 385.6 MB, free: 16.91 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.01028, allocations: 244.9 kB / 385.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.0103, allocations: 29.7 kB / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.026e-05/0.01036, allocations: 166.7 kB / 386.1 MB, free: 16.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.01038, allocations: 27.78 kB / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.01043, allocations: 39.34 kB / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.106e-05/0.01049, allocations: 0.4962 MB / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.584e-05/0.01051, allocations: 11.94 kB / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.975e-05/0.01056, allocations: 62.39 kB / 386.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.914e-05/0.01064, allocations: 78.75 kB / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.01065, allocations: 3.938 kB / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001599/0.01081, allocations: 113.3 kB / 386.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.01082, allocations: 8 kB / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.01083, allocations: 0 / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.01084, allocations: 4 kB / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.329e-05/0.01093, allocations: 23.92 kB / 386.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.01094, allocations: 7.922 kB / 386.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.668e-05/0.01099, allocations: 20.06 kB / 386.9 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.011, allocations: 0 / 386.9 MB, free: 15.5 MB / 314.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 7.437e-05/0.01108, allocations: 172.5 kB / 387.1 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.0111, allocations: 19.89 kB / 387.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001704/0.01127, allocations: 99.12 kB / 387.2 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.01128, allocations: 0 / 387.2 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.01128, allocations: 0 / 387.2 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.01128, allocations: 0 / 387.2 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.01139, allocations: 141.1 kB / 387.4 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.0114, allocations: 0 / 387.4 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.271e-05/0.01148, allocations: 12 kB / 387.4 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.01148, allocations: 7.938 kB / 387.4 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.01149, allocations: 8 kB / 387.4 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.0115, allocations: 0 / 387.4 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.0115, allocations: 0 / 387.4 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.01169, allocations: 146.1 kB / 387.5 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.723e-05/0.01172, allocations: 19.84 kB / 387.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.01174, allocations: 3.984 kB / 387.6 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.703e-05/0.01179, allocations: 4 kB / 387.6 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.953e-05/0.01184, allocations: 11.98 kB / 387.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.01185, allocations: 4.031 kB / 387.6 MB, free: 14.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.177e-05/0.01193, allocations: 171.1 kB / 387.7 MB, free: 14.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01193, allocations: 0 / 387.7 MB, free: 14.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002665/0.01219, allocations: 27.94 kB / 387.8 MB, free: 14.6 MB / 314.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.001106/0.0133, allocations: 378.8 kB / 388.1 MB, free: 14.37 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001408/0.01344, allocations: 59.58 kB / 388.2 MB, free: 14.31 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.01344, allocations: 0 / 388.2 MB, free: 14.31 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.152e-05/0.0135, allocations: 35.55 kB / 388.2 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.01378, allocations: 43.78 kB / 388.3 MB, free: 14.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004551/0.01424, allocations: 266 kB / 388.5 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.424e-05/0.01427, allocations: 71.83 kB / 388.6 MB, free: 13.86 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.559e-05/0.01434, allocations: 21.47 kB / 388.6 MB, free: 13.83 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.076e-05/0.01443, allocations: 94.19 kB / 388.7 MB, free: 13.74 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01443, allocations: 0 / 388.7 MB, free: 13.74 MB / 314.7 MB Notification: Performance of Templates: time 0.004315/0.01874, allocations: 2.276 MB / 391 MB, free: 11.51 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.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.525379355996847]