Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.001035/0.001035, 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.001143/0.001143, allocations: 167.4 kB / 25.61 MB, free: 8.578 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 0.9237/0.9237, allocations: 177 MB / 205.9 MB, free: 4.469 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.1424/0.1424, 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.308e-05/1.421e-05, allocations: 3.531 kB / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.001699/0.001713, allocations: 1.755 MB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009709/0.002684, allocations: 0.993 MB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.58e-05/0.00275, allocations: 7.938 kB / 382.8 MB, free: 19.9 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002621/0.003012, allocations: 83.62 kB / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002249/0.003236, allocations: 115.5 kB / 383 MB, free: 19.7 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001325/0.003369, allocations: 79.61 kB / 383.1 MB, free: 19.62 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.003514, allocations: 119.6 kB / 383.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.016e-05/0.003594, allocations: 4 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.805e-05/0.003672, allocations: 71.73 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.429e-05/0.003757, allocations: 59.88 kB / 383.4 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.003771, allocations: 4 kB / 383.4 MB, free: 19.37 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.692e-05/0.003838, allocations: 43.92 kB / 383.4 MB, free: 19.33 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.507e-05/0.003883, allocations: 27.91 kB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.003913, allocations: 23.86 kB / 383.5 MB, free: 19.28 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.004044, allocations: 103.6 kB / 383.6 MB, free: 19.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.132e-06/0.004045, allocations: 0 / 383.6 MB, free: 19.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.004046, allocations: 4 kB / 383.6 MB, free: 19.17 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.004049, allocations: 0 / 383.6 MB, free: 19.17 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.0003114/0.004361, allocations: 459.7 kB / 384 MB, free: 18.69 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.004395, allocations: 12.03 kB / 384 MB, free: 18.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.038e-05/0.004425, allocations: 12.89 kB / 384 MB, free: 18.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.004534, allocations: 160.3 kB / 384.2 MB, free: 18.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.004548, allocations: 4.359 kB / 384.2 MB, free: 18.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.004562, allocations: 4.375 kB / 384.2 MB, free: 18.47 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.873e-05/0.00464, allocations: 62.88 kB / 384.3 MB, free: 18.4 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.00465, allocations: 4.188 kB / 384.3 MB, free: 18.4 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.004656, allocations: 384 / 384.3 MB, free: 18.4 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.004661, allocations: 3.938 kB / 384.3 MB, free: 18.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.201e-05/0.004683, allocations: 7.984 kB / 384.3 MB, free: 18.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.004861, allocations: 268.4 kB / 384.6 MB, free: 18.1 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.316e-05/0.004934, allocations: 51.11 kB / 384.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.703e-05/0.004951, allocations: 15.69 kB / 384.6 MB, free: 18.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.004961, allocations: 0 / 384.6 MB, free: 18.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.823e-05/0.005029, allocations: 73.02 kB / 384.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.00503, allocations: 0 / 384.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002585/0.005289, allocations: 141.4 kB / 384.8 MB, free: 17.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.061e-05/0.005309, allocations: 51.41 kB / 384.9 MB, free: 17.72 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.542e-05/0.005395, allocations: 244.1 kB / 385.1 MB, free: 17.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.005403, allocations: 29.7 kB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.416e-05/0.005437, allocations: 154.8 kB / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.005458, allocations: 31.78 kB / 385.3 MB, free: 17.24 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.436e-05/0.005482, allocations: 23.38 kB / 385.3 MB, free: 17.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.416e-05/0.005527, allocations: 0.5001 MB / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.315e-05/0.00554, allocations: 15.98 kB / 385.9 MB, free: 16.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.084e-05/0.005561, allocations: 35.28 kB / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.49e-05/0.005596, allocations: 43.81 kB / 385.9 MB, free: 16.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.005596, allocations: 0 / 385.9 MB, free: 16.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.298e-05/0.005669, allocations: 93.5 kB / 386 MB, free: 16.49 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.256e-06/0.005677, allocations: 4 kB / 386 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.005682, allocations: 8 kB / 386 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-06/0.00569, allocations: 0 / 386 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.237e-05/0.005742, allocations: 15.98 kB / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.544e-06/0.005745, allocations: 0 / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.478e-05/0.00577, allocations: 4 kB / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.005774, allocations: 0 / 386.1 MB, free: 16.46 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 4.793e-05/0.005822, allocations: 174.3 kB / 386.2 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.005836, allocations: 31.8 kB / 386.3 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.731e-05/0.005934, allocations: 99.06 kB / 386.4 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.005936, allocations: 4 kB / 386.4 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.005937, allocations: 0 / 386.4 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.005941, allocations: 0 / 386.4 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.006118, allocations: 369.5 kB / 386.7 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.006119, allocations: 0 / 386.7 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.225e-05/0.006142, allocations: 11.98 kB / 386.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.006144, allocations: 0 / 386.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.00615, allocations: 4 kB / 386.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.00615, allocations: 4.031 kB / 386.7 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.006152, allocations: 0 / 386.7 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.006256, allocations: 255.4 kB / 387 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.077e-05/0.006267, allocations: 7.953 kB / 387 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.006282, allocations: 4 kB / 387 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.841e-05/0.00632, allocations: 7.984 kB / 387 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.195e-05/0.006342, allocations: 4 kB / 387 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-06/0.006352, allocations: 3.984 kB / 387 MB, free: 15.42 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.645e-05/0.006398, allocations: 177.6 kB / 387.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006398, allocations: 0 / 387.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001629/0.006561, allocations: 31.98 kB / 387.2 MB, free: 15.22 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.0008218/0.007383, allocations: 437.5 kB / 387.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.721e-05/0.00746, allocations: 39.67 kB / 387.7 MB, free: 14.92 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.007462, allocations: 0 / 387.7 MB, free: 14.92 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.942e-05/0.007491, allocations: 35.61 kB / 387.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.0077, allocations: 31.91 kB / 387.8 MB, free: 14.85 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002336/0.007934, allocations: 234.7 kB / 388 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.502e-05/0.007959, allocations: 79.12 kB / 388.1 MB, free: 14.49 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.878e-05/0.007988, allocations: 12.97 kB / 388.1 MB, free: 14.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.845e-05/0.008036, allocations: 90.12 kB / 388.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.008037, allocations: 0 / 388.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of Templates: time 0.002953/0.01099, allocations: 2.066 MB / 390.2 MB, free: 12.36 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.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.1811200799420476]