Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.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.002156/0.002156, allocations: 92.27 kB / 20.96 MB, free: 3.445 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.002592/0.002592, allocations: 152.9 kB / 24.26 MB, free: 148 kB / 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.528/1.528, allocations: 177 MB / 204.4 MB, free: 5.594 MB / 186.7 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.3372/0.3372, allocations: 34.25 MB / 295.2 MB, free: 0.6641 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.CombiTable1Ds.Test31,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.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 377.2 MB, free: 2.871 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.334e-05/3.488e-05, allocations: 4.984 kB / 377.2 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003873/0.003908, allocations: 1.615 MB / 378.9 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.005158, allocations: 0.5253 MB / 379.4 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.328e-05/0.005241, allocations: 0 / 379.4 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004103/0.005651, allocations: 127.6 kB / 379.5 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004426/0.006094, allocations: 135.4 kB / 379.6 MB, free: 464 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003583/0.006452, allocations: 87.7 kB / 379.7 MB, free: 376 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.0067, allocations: 99.72 kB / 379.8 MB, free: 276 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.006824, allocations: 11.98 kB / 379.8 MB, free: 264 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.006966, allocations: 59.81 kB / 379.9 MB, free: 204 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.00714, allocations: 83.83 kB / 380 MB, free: 120 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.007167, allocations: 4 kB / 380 MB, free: 116 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.007301, allocations: 47.92 kB / 380 MB, free: 68 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.266e-05/0.007384, allocations: 31.91 kB / 380.1 MB, free: 36 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.263e-05/0.007436, allocations: 19.86 kB / 380.1 MB, free: 16 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003236/0.00776, allocations: 119.6 kB / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.007764, allocations: 0 / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.007766, allocations: 0 / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.007774, allocations: 0 / 380.2 MB, free: 15.9 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006876/0.008461, allocations: 361.3 kB / 380.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.008509, allocations: 12.03 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.452e-05/0.008594, allocations: 16.84 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.00887, allocations: 161.5 kB / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.008883, allocations: 384 / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.008915, allocations: 4.375 kB / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.00909, allocations: 54.19 kB / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.009102, allocations: 192 / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.009116, allocations: 4.359 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.009125, allocations: 4.359 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.00924, allocations: 27.92 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004503/0.00969, allocations: 244.5 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.009825, allocations: 50.5 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.553e-05/0.009881, allocations: 12.94 kB / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.009908, allocations: 8 kB / 381.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.009945, allocations: 34.5 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.009946, allocations: 0 / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001025/0.01097, allocations: 233.2 kB / 381.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.01102, allocations: 55.39 kB / 381.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003509/0.01137, allocations: 275.8 kB / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.01139, allocations: 29.64 kB / 381.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.0115, allocations: 116.1 kB / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.212e-05/0.01155, allocations: 27.75 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/0.0116, allocations: 25.7 kB / 381.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.0118, allocations: 326.8 kB / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.4e-05/0.01189, allocations: 19.98 kB / 382.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.996e-05/0.01197, allocations: 32.06 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.01214, allocations: 72.97 kB / 382.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.01214, allocations: 0 / 382.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002574/0.0124, allocations: 109.5 kB / 382.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.01242, allocations: 8 kB / 382.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.01243, allocations: 0 / 382.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.01245, allocations: 0 / 382.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.01258, allocations: 23.92 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.01258, allocations: 0 / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.606e-05/0.01263, allocations: 4 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.01264, allocations: 7.984 kB / 382.5 MB, free: 13.4 MB / 362.7 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.0001489/0.01279, allocations: 133.8 kB / 382.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.537e-05/0.01285, allocations: 19.84 kB / 382.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003337/0.01318, allocations: 127 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01318, allocations: 0 / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.01319, allocations: 0 / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.01319, allocations: 4 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005994/0.01379, allocations: 350.9 kB / 383.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.01379, allocations: 0 / 383.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.29e-05/0.01388, allocations: 23.98 kB / 383.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01388, allocations: 0 / 383.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.01389, allocations: 0 / 383.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.01389, allocations: 4 kB / 383.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.01389, allocations: 3.984 kB / 383.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/0.01422, allocations: 216.2 kB / 383.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.497e-05/0.01424, allocations: 15.89 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.01426, allocations: 432 / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.184e-05/0.01435, allocations: 4 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.0144, allocations: 11.98 kB / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.01441, allocations: 4 kB / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002206/0.01463, allocations: 204.2 kB / 383.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01463, allocations: 0 / 383.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002758/0.0149, allocations: 23.94 kB / 383.6 MB, free: 12.21 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: 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.002292/0.0172, allocations: 485.8 kB / 384.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002522/0.01745, allocations: 67.88 kB / 384.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.01745, allocations: 4 kB / 384.2 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.71e-05/0.01755, allocations: 35.92 kB / 384.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.01796, allocations: 27.92 kB / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006964/0.01865, allocations: 314.7 kB / 384.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.01879, allocations: 109.2 kB / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.199e-05/0.01884, allocations: 9.047 kB / 384.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/0.01889, allocations: 20.48 kB / 384.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01889, allocations: 0 / 384.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of Templates: time 0.004978/0.02387, allocations: 1.385 MB / 386.1 MB, free: 9.898 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.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: 4.850245737005025]