Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.063/1.063, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3297/0.3297, allocations: 34.26 MB / 296 MB, free: 0.7695 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 378.1 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.871e-05, allocations: 2.312 kB / 378.1 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002638/0.002667, allocations: 1.77 MB / 379.9 MB, free: 1.113 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.00394, allocations: 1.005 MB / 380.9 MB, free: 104 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.549e-05/0.004016, allocations: 0 / 380.9 MB, free: 104 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002968/0.004312, allocations: 43.7 kB / 380.9 MB, free: 60 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002783/0.004591, allocations: 95.55 kB / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001531/0.004744, allocations: 83.53 kB / 381.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.004952, allocations: 107.7 kB / 381.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.005075, allocations: 7.984 kB / 381.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.325e-05/0.005168, allocations: 55.78 kB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.242e-05/0.00525, allocations: 27.89 kB / 381.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.005268, allocations: 4 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.061e-05/0.005359, allocations: 43.92 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.148e-05/0.00542, allocations: 19.94 kB / 381.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.832e-05/0.005468, allocations: 23.91 kB / 381.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.00566, allocations: 103.6 kB / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.005664, allocations: 0 / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.005665, allocations: 0 / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.00567, allocations: 0 / 381.5 MB, free: 15.5 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.0005065/0.006176, allocations: 455.8 kB / 381.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.006216, allocations: 8.031 kB / 381.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/0.006266, allocations: 16.84 kB / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.006445, allocations: 149.1 kB / 382.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.006463, allocations: 384 / 382.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.006485, allocations: 4.375 kB / 382.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.006625, allocations: 62.94 kB / 382.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.006635, allocations: 3.938 kB / 382.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.006649, allocations: 11.98 kB / 382.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.006655, allocations: 0 / 382.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.838e-05/0.006694, allocations: 11.94 kB / 382.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003395/0.007033, allocations: 287.8 kB / 382.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.007177, allocations: 55.16 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.223e-05/0.007219, allocations: 27.55 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.007238, allocations: 4 kB / 382.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000122/0.00736, allocations: 76.98 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.264e-06/0.007362, allocations: 0 / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004285/0.00779, allocations: 149.4 kB / 382.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.007822, allocations: 51.41 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.007975, allocations: 238.3 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.007988, allocations: 25.7 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.348e-05/0.008052, allocations: 154.9 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.008083, allocations: 23.8 kB / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.008121, allocations: 31.36 kB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.008247, allocations: 0.4962 MB / 383.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.945e-05/0.008276, allocations: 15.98 kB / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.75e-05/0.008314, allocations: 31.38 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.414e-05/0.008378, allocations: 59.3 kB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.008379, allocations: 0 / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001181/0.008497, allocations: 97.52 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.008512, allocations: 5.875 kB / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.008518, allocations: 0 / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.008531, allocations: 4 kB / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.263e-05/0.008614, allocations: 15.98 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.008619, allocations: 4.031 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.021e-05/0.008649, allocations: 4 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.008655, allocations: 0 / 384 MB, free: 12.73 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.205e-05/0.008737, allocations: 167.9 kB / 384.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.008756, allocations: 15.94 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001715/0.008928, allocations: 103.1 kB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.00893, allocations: 0 / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.008934, allocations: 0 / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.008939, allocations: 3.984 kB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003109/0.00925, allocations: 400.9 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.009252, allocations: 0 / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.275e-05/0.009285, allocations: 15.94 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.009288, allocations: 0 / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.009295, allocations: 0 / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.009298, allocations: 4 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.009301, allocations: 7.922 kB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001546/0.009456, allocations: 255.4 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.317e-05/0.009469, allocations: 11.91 kB / 385 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.009488, allocations: 4.375 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.363e-05/0.009532, allocations: 4 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.009572, allocations: 12.02 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.00959, allocations: 12 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.494e-05/0.009675, allocations: 168.1 kB / 385.2 MB, free: 11.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009675, allocations: 0 / 385.2 MB, free: 11.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001857/0.00986, allocations: 27.92 kB / 385.2 MB, free: 11.46 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.001056/0.01092, allocations: 429.2 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.01104, allocations: 63.58 kB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.01105, allocations: 0 / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.198e-05/0.01109, allocations: 35.67 kB / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.01134, allocations: 37.5 kB / 385.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003888/0.01173, allocations: 218 kB / 386 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.275e-05/0.01178, allocations: 67.33 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.051e-05/0.01182, allocations: 12.97 kB / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.684e-05/0.01186, allocations: 16.5 kB / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01186, allocations: 4.062 kB / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of Templates: time 0.003944/0.01581, allocations: 1.871 MB / 387.9 MB, free: 8.852 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.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.266615967033431]