Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.001226/0.001226, allocations: 85.91 kB / 22.21 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.001447/0.001447, allocations: 159.2 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.064/1.064, allocations: 177 MB / 205.9 MB, free: 4.457 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.1718/0.1718, allocations: 34.87 MB / 297.4 MB, free: 13.36 MB / 282.7 MB " [Timeout remaining time 179] 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 380.1 MB, free: 22.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.33e-05/3.571e-05, allocations: 3.297 kB / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002637/0.002673, allocations: 1.835 MB / 381.9 MB, free: 20.83 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00186/0.004533, allocations: 1.784 MB / 383.7 MB, free: 19.04 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.004666, allocations: 0 / 383.7 MB, free: 19.04 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003644/0.00503, allocations: 59.61 kB / 383.8 MB, free: 18.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004114/0.005442, allocations: 147.2 kB / 383.9 MB, free: 18.84 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.005696, allocations: 103.6 kB / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002401/0.005936, allocations: 215.2 kB / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.402e-05/0.00599, allocations: 9.75 kB / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.00612, allocations: 111.7 kB / 384.3 MB, free: 18.41 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.006276, allocations: 67.73 kB / 384.4 MB, free: 18.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.006303, allocations: 12 kB / 384.4 MB, free: 18.33 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002306/0.006533, allocations: 99.88 kB / 384.5 MB, free: 18.23 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.392e-05/0.006607, allocations: 43.83 kB / 384.6 MB, free: 18.19 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.893e-05/0.006656, allocations: 31.86 kB / 384.6 MB, free: 18.16 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.006926, allocations: 207.2 kB / 384.8 MB, free: 17.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.006928, allocations: 0 / 384.8 MB, free: 17.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.006929, allocations: 0 / 384.8 MB, free: 17.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.006934, allocations: 0 / 384.8 MB, free: 17.95 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005073/0.007441, allocations: 0.5226 MB / 385.3 MB, free: 17.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.007478, allocations: 8.031 kB / 385.3 MB, free: 17.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.163e-05/0.00753, allocations: 24.84 kB / 385.3 MB, free: 17.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.007713, allocations: 180.3 kB / 385.5 MB, free: 17.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.007733, allocations: 384 / 385.5 MB, free: 17.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.007748, allocations: 16.34 kB / 385.5 MB, free: 17.14 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.007901, allocations: 169 kB / 385.7 MB, free: 16.94 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.007911, allocations: 192 / 385.7 MB, free: 16.94 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.007921, allocations: 384 / 385.7 MB, free: 16.94 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.007929, allocations: 11.92 kB / 385.7 MB, free: 16.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.112e-05/0.00796, allocations: 11.98 kB / 385.7 MB, free: 16.92 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001334/0.008093, allocations: 136.9 kB / 385.9 MB, free: 16.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.00822, allocations: 94.14 kB / 386 MB, free: 16.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.314e-05/0.008253, allocations: 35.36 kB / 386 MB, free: 16.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.00827, allocations: 4 kB / 386 MB, free: 16.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001233/0.008393, allocations: 108.3 kB / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.008394, allocations: 0 / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002323/0.008626, allocations: 129.5 kB / 386.2 MB, free: 16.33 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.008664, allocations: 132.5 kB / 386.4 MB, free: 16.17 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.008808, allocations: 282.5 kB / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.008822, allocations: 33.64 kB / 386.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.798e-05/0.00887, allocations: 166.8 kB / 386.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.008913, allocations: 31.84 kB / 386.9 MB, free: 15.63 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.008953, allocations: 35.34 kB / 386.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.682e-05/0.00902, allocations: 0.4962 MB / 387.4 MB, free: 15.08 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.177e-05/0.009042, allocations: 19.98 kB / 387.4 MB, free: 15.06 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.836e-05/0.00909, allocations: 125.4 kB / 387.5 MB, free: 14.9 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.45e-05/0.009155, allocations: 83.16 kB / 387.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.009157, allocations: 0 / 387.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001212/0.009278, allocations: 117.5 kB / 387.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.009297, allocations: 4 kB / 387.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.009304, allocations: 4 kB / 387.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.009316, allocations: 0 / 387.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.436e-05/0.009391, allocations: 27.92 kB / 387.8 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.009396, allocations: 3.938 kB / 387.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.694e-05/0.009443, allocations: 7.938 kB / 387.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.009449, allocations: 4 kB / 387.8 MB, free: 14.63 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.451e-05/0.009523, allocations: 168.6 kB / 387.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.009548, allocations: 23.84 kB / 388 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.009692, allocations: 134.8 kB / 388.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.009694, allocations: 0 / 388.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.009696, allocations: 4 kB / 388.1 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.009702, allocations: 3.938 kB / 388.1 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.232e-05/0.009794, allocations: 133.2 kB / 388.2 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.009795, allocations: 4 kB / 388.2 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.366e-05/0.009819, allocations: 12.23 kB / 388.2 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.009821, allocations: 3.984 kB / 388.3 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.009829, allocations: 12 kB / 388.3 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.00983, allocations: 3.938 kB / 388.3 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.009831, allocations: 4 kB / 388.3 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.009951, allocations: 175.8 kB / 388.4 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.055e-05/0.009972, allocations: 19.83 kB / 388.5 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.009995, allocations: 8 kB / 388.5 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.154e-05/0.01003, allocations: 4 kB / 388.5 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.01006, allocations: 11.98 kB / 388.5 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.01008, allocations: 7.984 kB / 388.5 MB, free: 13.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.425e-05/0.01015, allocations: 193.7 kB / 388.7 MB, free: 13.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01015, allocations: 0 / 388.7 MB, free: 13.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002087/0.01036, allocations: 51.81 kB / 388.7 MB, free: 13.61 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009748/0.01133, allocations: 499.1 kB / 389.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001305/0.01146, allocations: 71.58 kB / 389.3 MB, free: 13.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01147, allocations: 0 / 389.3 MB, free: 13.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.792e-05/0.0115, allocations: 47.72 kB / 389.3 MB, free: 13.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.01173, allocations: 56.58 kB / 389.4 MB, free: 13.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003477/0.01208, allocations: 276.2 kB / 389.7 MB, free: 12.8 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.367e-05/0.01211, allocations: 79.84 kB / 389.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.526e-05/0.01217, allocations: 29.45 kB / 389.8 MB, free: 12.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.01227, allocations: 126.1 kB / 389.9 MB, free: 12.55 MB / 314.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01227, allocations: 4 kB / 389.9 MB, free: 12.55 MB / 314.7 MB Notification: Performance of Templates: time 0.004648/0.01692, allocations: 3.825 MB / 393.7 MB, free: 8.789 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.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.7517509339377284]