Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.001736/0.001736, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001512/0.001512, allocations: 160.1 kB / 25.61 MB, free: 8.582 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.097/1.097, allocations: 177 MB / 205.9 MB, free: 4.461 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.1686/0.1686, allocations: 34.88 MB / 297.4 MB, free: 13.34 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.811e-05/2.989e-05, allocations: 6.906 kB / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.006395/0.006424, allocations: 1.749 MB / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002295/0.008719, allocations: 1.726 MB / 383.6 MB, free: 19.17 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.008828, allocations: 0 / 383.6 MB, free: 19.17 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003476/0.009176, allocations: 39.7 kB / 383.6 MB, free: 19.13 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004572/0.009633, allocations: 99.53 kB / 383.7 MB, free: 19.03 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.009911, allocations: 87.47 kB / 383.8 MB, free: 18.95 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.0101, allocations: 103.7 kB / 383.9 MB, free: 18.84 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.01021, allocations: 11.98 kB / 383.9 MB, free: 18.83 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.01033, allocations: 59.77 kB / 384 MB, free: 18.77 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.01046, allocations: 27.91 kB / 384 MB, free: 18.75 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.01048, allocations: 15.98 kB / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002108/0.0107, allocations: 95.88 kB / 384.1 MB, free: 18.64 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.849e-05/0.01075, allocations: 19.92 kB / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.175e-05/0.0108, allocations: 23.86 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002835/0.01108, allocations: 159.5 kB / 384.3 MB, free: 18.44 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.01109, allocations: 4 kB / 384.3 MB, free: 18.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.01109, allocations: 0 / 384.3 MB, free: 18.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.01109, allocations: 0 / 384.3 MB, free: 18.43 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005332/0.01163, allocations: 459.7 kB / 384.8 MB, free: 17.95 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.01167, allocations: 8.031 kB / 384.8 MB, free: 17.94 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.555e-05/0.01174, allocations: 20.89 kB / 384.8 MB, free: 17.92 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.01192, allocations: 144.9 kB / 384.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.01194, allocations: 4.375 kB / 384.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.01197, allocations: 4.375 kB / 384.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.01213, allocations: 108 kB / 385 MB, free: 17.62 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.01214, allocations: 3.938 kB / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.01215, allocations: 3.984 kB / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.01216, allocations: 0 / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.673e-05/0.0122, allocations: 12 kB / 385.1 MB, free: 17.6 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003022/0.0125, allocations: 260.3 kB / 385.3 MB, free: 17.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.01262, allocations: 55.16 kB / 385.4 MB, free: 17.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.552e-05/0.01264, allocations: 11.69 kB / 385.4 MB, free: 17.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.01266, allocations: 4 kB / 385.4 MB, free: 17.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001233/0.01278, allocations: 72.92 kB / 385.5 MB, free: 17.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.01278, allocations: 0 / 385.5 MB, free: 17.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004113/0.01319, allocations: 149.4 kB / 385.6 MB, free: 16.99 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.01323, allocations: 77.11 kB / 385.7 MB, free: 16.9 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.01336, allocations: 206.9 kB / 385.9 MB, free: 16.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.01337, allocations: 33.7 kB / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/0.01342, allocations: 150.8 kB / 386.1 MB, free: 16.49 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.01346, allocations: 19.84 kB / 386.1 MB, free: 16.47 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-05/0.01351, allocations: 31.36 kB / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.79e-05/0.01358, allocations: 0.4962 MB / 386.6 MB, free: 15.92 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.429e-05/0.0136, allocations: 8 kB / 386.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.413e-05/0.01364, allocations: 64.75 kB / 386.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.695e-05/0.0137, allocations: 47.28 kB / 386.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.0137, allocations: 0 / 386.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001314/0.01383, allocations: 93.55 kB / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.01385, allocations: 4 kB / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.01385, allocations: 0 / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.01387, allocations: 3.938 kB / 386.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.039e-05/0.01395, allocations: 19.98 kB / 386.8 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.01395, allocations: 0 / 386.8 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.506e-05/0.01399, allocations: 7.891 kB / 386.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.014, allocations: 4 kB / 386.8 MB, free: 15.64 MB / 314.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 7.093e-05/0.01407, allocations: 166.4 kB / 387 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.0141, allocations: 15.89 kB / 387 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000163/0.01426, allocations: 106.4 kB / 387.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.01426, allocations: 0 / 387.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.01427, allocations: 0 / 387.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.01427, allocations: 0 / 387.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003073/0.01458, allocations: 361.6 kB / 387.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.01458, allocations: 0 / 387.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.01462, allocations: 12 kB / 387.5 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.01462, allocations: 0 / 387.5 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.01463, allocations: 3.984 kB / 387.5 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.01464, allocations: 7.938 kB / 387.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.01464, allocations: 4.031 kB / 387.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.0148, allocations: 255.6 kB / 387.8 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/0.01482, allocations: 11.95 kB / 387.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.01484, allocations: 0 / 387.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.504e-05/0.01491, allocations: 4.375 kB / 387.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.01495, allocations: 11.98 kB / 387.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.01497, allocations: 4 kB / 387.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.709e-05/0.01504, allocations: 157.4 kB / 387.9 MB, free: 14.47 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01504, allocations: 0 / 387.9 MB, free: 14.47 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003556/0.01539, allocations: 47.88 kB / 388 MB, free: 14.42 MB / 314.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.001499/0.01689, allocations: 0.5278 MB / 388.5 MB, free: 14.08 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.01703, allocations: 47.59 kB / 388.6 MB, free: 14.03 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.01703, allocations: 0 / 388.6 MB, free: 14.03 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.255e-05/0.01707, allocations: 31.61 kB / 388.6 MB, free: 14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.01741, allocations: 47.2 kB / 388.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004227/0.01783, allocations: 203.7 kB / 388.8 MB, free: 13.72 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.32e-05/0.01787, allocations: 67.33 kB / 388.9 MB, free: 13.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.281e-05/0.01793, allocations: 17.09 kB / 388.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.486e-05/0.01803, allocations: 94.19 kB / 389 MB, free: 13.52 MB / 314.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01803, allocations: 0 / 389 MB, free: 13.52 MB / 314.7 MB Notification: Performance of Templates: time 0.00556/0.02359, allocations: 2.813 MB / 391.8 MB, free: 10.75 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.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.5593616096302867]