Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.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.001444/0.001444, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001828/0.001828, allocations: 170 kB / 24.82 MB, free: 9.254 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.036/1.036, allocations: 177 MB / 205.1 MB, free: 5.492 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.275/0.275, allocations: 34.86 MB / 296.6 MB, free: 0.5 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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 379.3 MB, free: 1.746 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.087e-05/3.286e-05, allocations: 2.312 kB / 379.3 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003914/0.003946, allocations: 1.763 MB / 381.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002022/0.005969, allocations: 0.9967 MB / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.006114, allocations: 4 kB / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004225/0.006537, allocations: 43.69 kB / 382.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004846/0.007021, allocations: 99.53 kB / 382.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.007367, allocations: 83.59 kB / 382.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.007612, allocations: 111.6 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.007735, allocations: 4 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.0079, allocations: 55.83 kB / 382.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.008014, allocations: 27.91 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.00804, allocations: 7.938 kB / 382.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.008189, allocations: 47.91 kB / 382.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.692e-05/0.008256, allocations: 19.92 kB / 382.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.281e-05/0.008309, allocations: 19.88 kB / 382.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.008535, allocations: 103.7 kB / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.008539, allocations: 0 / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.00854, allocations: 0 / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.008545, allocations: 0 / 382.7 MB, free: 14.34 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006418/0.009187, allocations: 455.8 kB / 383.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.00923, allocations: 8.031 kB / 383.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.261e-05/0.009283, allocations: 20.81 kB / 383.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.009474, allocations: 152.9 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.009493, allocations: 4.375 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.009512, allocations: 4.375 kB / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.009644, allocations: 62.94 kB / 383.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.009654, allocations: 4.125 kB / 383.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.009662, allocations: 384 / 383.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.00967, allocations: 7.938 kB / 383.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.543e-05/0.009705, allocations: 7.984 kB / 383.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/0.01002, allocations: 260.4 kB / 383.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.01012, allocations: 47.17 kB / 383.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/0.01015, allocations: 15.67 kB / 383.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.01017, allocations: 4 kB / 383.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001115/0.01028, allocations: 76.97 kB / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.01028, allocations: 0 / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003934/0.01067, allocations: 149.5 kB / 383.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.01071, allocations: 51.41 kB / 384 MB, free: 12.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.01087, allocations: 229.8 kB / 384.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.0109, allocations: 33.7 kB / 384.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.142e-05/0.01097, allocations: 150.8 kB / 384.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.011, allocations: 27.78 kB / 384.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.586e-05/0.01105, allocations: 31.36 kB / 384.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.01119, allocations: 0.4962 MB / 385 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.822e-05/0.01122, allocations: 15.98 kB / 385 MB, free: 11.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.624e-05/0.01126, allocations: 23.38 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.606e-05/0.01133, allocations: 55.28 kB / 385 MB, free: 11.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.01133, allocations: 0 / 385 MB, free: 11.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001377/0.01146, allocations: 81.53 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.01148, allocations: 8 kB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.01148, allocations: 0 / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.0115, allocations: 0 / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.038e-05/0.01158, allocations: 19.92 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.766e-06/0.01158, allocations: 8.031 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.268e-05/0.01162, allocations: 4 kB / 385.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.01163, allocations: 4 kB / 385.2 MB, free: 11.65 MB / 362.7 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 (10): * Single equations (assignments): 10 * 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.856e-05/0.01172, allocations: 167 kB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.01175, allocations: 23.83 kB / 385.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/0.01192, allocations: 95.08 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.01193, allocations: 0 / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01193, allocations: 0 / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.01193, allocations: 3.984 kB / 385.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003513/0.01229, allocations: 365.5 kB / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.01229, allocations: 0 / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.064e-05/0.01233, allocations: 8 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.01233, allocations: 4 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.01234, allocations: 7.984 kB / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.01235, allocations: 3.938 kB / 385.8 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.01235, allocations: 0 / 385.8 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.01254, allocations: 259.4 kB / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.62e-05/0.01256, allocations: 7.953 kB / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.01258, allocations: 0 / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.291e-05/0.01265, allocations: 12.03 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.01268, allocations: 7.984 kB / 386.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.01269, allocations: 0 / 386.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003407/0.01303, allocations: 180.2 kB / 386.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01303, allocations: 0 / 386.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002875/0.01332, allocations: 23.94 kB / 386.3 MB, free: 10.43 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001268/0.01459, allocations: 429 kB / 386.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001252/0.01471, allocations: 55.58 kB / 386.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01471, allocations: 4.062 kB / 386.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.418e-05/0.01476, allocations: 27.61 kB / 386.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.0151, allocations: 35.88 kB / 386.9 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000398/0.01549, allocations: 225.9 kB / 387.1 MB, free: 9.754 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.1e-05/0.01555, allocations: 67.34 kB / 387.1 MB, free: 9.668 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.512e-05/0.0156, allocations: 17.27 kB / 387.2 MB, free: 9.648 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.75e-05/0.0157, allocations: 90.19 kB / 387.2 MB, free: 9.559 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.0157, allocations: 4.062 kB / 387.2 MB, free: 9.555 MB / 362.7 MB Notification: Performance of Templates: time 0.004871/0.02057, allocations: 2.039 MB / 389.3 MB, free: 7.547 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.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.0771777513436973]