Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.001024/0.001024, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001002/0.001002, allocations: 160.5 kB / 24.55 MB, free: 16 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.024/1.024, allocations: 177 MB / 204.8 MB, free: 5.578 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.2589/0.2589, allocations: 34.86 MB / 296.3 MB, free: 496 kB / 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 378.8 MB, free: 1.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.171e-05, allocations: 3.016 kB / 378.8 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002379/0.0024, allocations: 1.949 MB / 380.8 MB, free: 20 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.00364, allocations: 1.051 MB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.1e-05/0.003731, allocations: 7.938 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002874/0.004018, allocations: 47.64 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002884/0.004307, allocations: 99.41 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.004492, allocations: 95.64 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.004668, allocations: 151.5 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.555e-05/0.004764, allocations: 17.8 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.793e-05/0.004862, allocations: 83.73 kB / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.592e-05/0.004948, allocations: 31.91 kB / 382.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.004964, allocations: 8 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.526e-05/0.005049, allocations: 51.91 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.361e-05/0.005103, allocations: 31.8 kB / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.787e-05/0.005151, allocations: 31.91 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.005352, allocations: 135.4 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.005353, allocations: 0 / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005354, allocations: 0 / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.005358, allocations: 0 / 382.6 MB, free: 14.18 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004868/0.005845, allocations: 0.4935 MB / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.005882, allocations: 8.031 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.363e-05/0.005936, allocations: 32.8 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.006137, allocations: 173.1 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.006158, allocations: 4.375 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.006185, allocations: 8.375 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.006374, allocations: 147.6 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.006382, allocations: 192 / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.006394, allocations: 8.375 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.006402, allocations: 3.938 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.316e-05/0.006455, allocations: 23.98 kB / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004692/0.006925, allocations: 0.5911 MB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.007101, allocations: 71.11 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.594e-05/0.007137, allocations: 23.67 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.00715, allocations: 0 / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001087/0.007258, allocations: 102.7 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.007259, allocations: 0 / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001942/0.007454, allocations: 113.5 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.007478, allocations: 59.41 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.007614, allocations: 251 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.007627, allocations: 29.64 kB / 384.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.007693, allocations: 166.8 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.007715, allocations: 35.72 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.00775, allocations: 31.38 kB / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.007871, allocations: 0.5039 MB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.477e-05/0.007906, allocations: 16 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.983e-05/0.007955, allocations: 60.67 kB / 385.6 MB, free: 10.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.075e-05/0.008036, allocations: 90.36 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.008038, allocations: 0 / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001296/0.008168, allocations: 113.5 kB / 385.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.008179, allocations: 4 kB / 385.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.008184, allocations: 0 / 385.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.0082, allocations: 4 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.007e-05/0.00826, allocations: 24.05 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.008266, allocations: 8 kB / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.358e-05/0.0083, allocations: 11.94 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.008308, allocations: 4 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.597e-05/0.008384, allocations: 168.5 kB / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.0084, allocations: 15.91 kB / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.008537, allocations: 107.1 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.008539, allocations: 3.984 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.008542, allocations: 0 / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.008546, allocations: 0 / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.008649, allocations: 164.5 kB / 386.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.00865, allocations: 4 kB / 386.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.325e-05/0.008693, allocations: 16 kB / 386.3 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.008695, allocations: 0 / 386.3 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.008703, allocations: 0 / 386.3 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.008704, allocations: 0 / 386.3 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.008705, allocations: 0 / 386.3 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.008867, allocations: 160.2 kB / 386.4 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.535e-05/0.008882, allocations: 15.84 kB / 386.4 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.008899, allocations: 12 kB / 386.5 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.703e-05/0.008926, allocations: 11.92 kB / 386.5 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.008958, allocations: 8.016 kB / 386.5 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.00897, allocations: 4 kB / 386.5 MB, free: 9.961 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.802e-05/0.009048, allocations: 175.1 kB / 386.7 MB, free: 9.789 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009048, allocations: 0 / 386.7 MB, free: 9.789 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001505/0.009198, allocations: 24 kB / 386.7 MB, free: 9.766 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0007279/0.009926, allocations: 387.5 kB / 387.1 MB, free: 9.492 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001307/0.01006, allocations: 59.59 kB / 387.1 MB, free: 9.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01006, allocations: 0 / 387.1 MB, free: 9.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.347e-05/0.0101, allocations: 35.61 kB / 387.1 MB, free: 9.391 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.01029, allocations: 46.12 kB / 387.2 MB, free: 9.352 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003633/0.01066, allocations: 254.3 kB / 387.4 MB, free: 9.078 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.81e-05/0.0107, allocations: 71.83 kB / 387.5 MB, free: 8.988 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.002e-05/0.01074, allocations: 17.47 kB / 387.5 MB, free: 8.969 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.01077, allocations: 20.5 kB / 387.5 MB, free: 8.949 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01077, allocations: 4 kB / 387.6 MB, free: 8.945 MB / 362.7 MB Notification: Performance of Templates: time 0.003561/0.01433, allocations: 2.05 MB / 389.6 MB, free: 6.926 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.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.3602708196267486]