Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.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.001778/0.001778, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.00198/0.00198, allocations: 204.5 kB / 23.72 MB, free: 4.391 MB / 14.72 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.595/1.595, allocations: 230.5 MB / 257.4 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] 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.2564/0.2564, allocations: 46.95 MB / 360.8 MB, free: 3.91 MB / 286.1 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.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002382/0.002382, allocations: 79.88 kB / 0.4967 GB, free: 6.961 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4222/0.4246, allocations: 66.09 MB / 0.5612 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.004498/0.4291, allocations: 1.716 MB / 0.5629 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003022/0.4321, allocations: 1.664 MB / 0.5645 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.351e-05/0.4322, allocations: 0 / 0.5645 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003277/0.4325, allocations: 35.77 kB / 0.5646 GB, free: 472 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000406/0.4329, allocations: 107.5 kB / 0.5647 GB, free: 364 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.4331, allocations: 71.73 kB / 0.5647 GB, free: 292 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.4334, allocations: 107.6 kB / 0.5648 GB, free: 184 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.4335, allocations: 11.98 kB / 0.5649 GB, free: 172 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.282e-05/0.4336, allocations: 47.78 kB / 0.5649 GB, free: 124 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.4337, allocations: 39.77 kB / 0.5649 GB, free: 84 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.4337, allocations: 8 kB / 0.5649 GB, free: 76 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002345/0.434, allocations: 111.9 kB / 0.5651 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.167e-05/0.434, allocations: 19.92 kB / 0.5651 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.715e-05/0.4341, allocations: 27.86 kB / 0.5651 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.4344, allocations: 169.7 kB / 0.5653 GB, free: 15.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.819e-06/0.4344, allocations: 3.984 kB / 0.5653 GB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4344, allocations: 3.938 kB / 0.5653 GB, free: 15.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.4344, allocations: 0 / 0.5653 GB, free: 15.75 MB / 414.1 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.0007024/0.4351, allocations: 345.5 kB / 0.5656 GB, free: 15.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.4352, allocations: 8.031 kB / 0.5656 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.477e-05/0.4352, allocations: 16.84 kB / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.4356, allocations: 154.3 kB / 0.5658 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.4356, allocations: 4.375 kB / 0.5658 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.4356, allocations: 4.125 kB / 0.5658 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.4358, allocations: 101 kB / 0.5659 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.4358, allocations: 0 / 0.5659 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.4359, allocations: 4 kB / 0.5659 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.4359, allocations: 4 kB / 0.5659 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.797e-05/0.4359, allocations: 15.98 kB / 0.5659 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.4364, allocations: 232.5 kB / 0.5661 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.4365, allocations: 62.61 kB / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.124e-05/0.4366, allocations: 24.78 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.4366, allocations: 0 / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.4368, allocations: 67.39 kB / 0.5663 GB, free: 14.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.4368, allocations: 0 / 0.5663 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000621/0.4374, allocations: 185.6 kB / 0.5664 GB, free: 14.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/0.4375, allocations: 77.11 kB / 0.5665 GB, free: 14.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.4377, allocations: 166.5 kB / 0.5667 GB, free: 14.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.4377, allocations: 25.7 kB / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.233e-05/0.4378, allocations: 104.1 kB / 0.5668 GB, free: 14.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.4378, allocations: 31.69 kB / 0.5668 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.4379, allocations: 25.7 kB / 0.5669 GB, free: 13.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.438, allocations: 330.8 kB / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.953e-05/0.4381, allocations: 19.98 kB / 0.5672 GB, free: 13.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.588e-05/0.4382, allocations: 72.2 kB / 0.5673 GB, free: 13.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.4383, allocations: 65.77 kB / 0.5673 GB, free: 13.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4383, allocations: 0 / 0.5673 GB, free: 13.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002136/0.4385, allocations: 101.7 kB / 0.5674 GB, free: 13.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.4385, allocations: 12 kB / 0.5674 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.4385, allocations: 0 / 0.5674 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.4386, allocations: 0 / 0.5674 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.843e-05/0.4387, allocations: 15.98 kB / 0.5674 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.4387, allocations: 4 kB / 0.5675 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.768e-05/0.4387, allocations: 0 / 0.5675 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.4387, allocations: 4 kB / 0.5675 GB, free: 13.3 MB / 414.1 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 0.0001398/0.4389, allocations: 133.7 kB / 0.5676 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.4389, allocations: 7.953 kB / 0.5676 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002865/0.4392, allocations: 122.3 kB / 0.5677 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.4392, allocations: 0 / 0.5677 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.4392, allocations: 0 / 0.5677 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4392, allocations: 0 / 0.5677 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005072/0.4397, allocations: 350.9 kB / 0.568 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.4397, allocations: 3.984 kB / 0.568 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.881e-05/0.4397, allocations: 15.98 kB / 0.5681 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4397, allocations: 0 / 0.5681 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.4398, allocations: 4 kB / 0.5681 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.4398, allocations: 4 kB / 0.5681 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.4398, allocations: 11.91 kB / 0.5681 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.44, allocations: 216.5 kB / 0.5683 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.427e-05/0.4401, allocations: 11.89 kB / 0.5683 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.4401, allocations: 8 kB / 0.5683 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.383e-05/0.4402, allocations: 4 kB / 0.5683 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.4402, allocations: 7.922 kB / 0.5683 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.4402, allocations: 4 kB / 0.5683 GB, free: 12.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001498/0.4404, allocations: 135.9 kB / 0.5684 GB, free: 12.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4404, allocations: 0 / 0.5684 GB, free: 12.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003035/0.4407, allocations: 47.86 kB / 0.5685 GB, free: 12.16 MB / 414.1 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.002166/0.4429, allocations: 0.578 MB / 0.5691 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002286/0.4431, allocations: 55.97 kB / 0.5691 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.4431, allocations: 3.938 kB / 0.5691 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.877e-05/0.4432, allocations: 28.11 kB / 0.5691 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.4435, allocations: 35.42 kB / 0.5692 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005/0.444, allocations: 210.7 kB / 0.5694 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.564e-05/0.4441, allocations: 89.31 kB / 0.5695 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.976e-05/0.4442, allocations: 17.27 kB / 0.5695 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.177e-05/0.4442, allocations: 27.42 kB / 0.5695 GB, free: 11.27 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.4442, allocations: 0 / 0.5695 GB, free: 11.27 MB / 414.1 MB Notification: Performance of Templates: time 0.006182/0.4504, allocations: 2.531 MB / 0.572 GB, free: 8.762 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.403330536559224]