Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.001535/0.001535, allocations: 109.1 kB / 21.18 MB, free: 0.7852 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.001708/0.001708, allocations: 217.3 kB / 24.49 MB, free: 4.172 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.412/1.412, allocations: 230.5 MB / 258.1 MB, free: 8.016 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.23/0.23, allocations: 46.92 MB / 361.5 MB, free: 4.191 MB / 286.1 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 83.88 kB / 0.4975 GB, free: 7.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3309, allocations: 66.08 MB / 0.562 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003178/0.3341, allocations: 1.771 MB / 0.5638 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.336, allocations: 1.057 MB / 0.5648 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.932e-05/0.3361, allocations: 0 / 0.5648 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.3364, allocations: 103.6 kB / 0.5649 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003344/0.3367, allocations: 135.5 kB / 0.565 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.337, allocations: 79.72 kB / 0.5651 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.3372, allocations: 127.6 kB / 0.5652 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.3373, allocations: 11.97 kB / 0.5652 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.3374, allocations: 63.77 kB / 0.5653 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.3375, allocations: 67.73 kB / 0.5654 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.3375, allocations: 4 kB / 0.5654 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.3376, allocations: 63.97 kB / 0.5654 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.567e-05/0.3377, allocations: 27.84 kB / 0.5654 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.872e-05/0.3377, allocations: 43.69 kB / 0.5655 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.338, allocations: 145.8 kB / 0.5656 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.338, allocations: 7.938 kB / 0.5656 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.338, allocations: 0 / 0.5656 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.338, allocations: 0 / 0.5656 GB, free: 0.5117 MB / 398.1 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.0006539/0.3387, allocations: 385.3 kB / 0.566 GB, free: 108 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.3387, allocations: 8.031 kB / 0.566 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.974e-05/0.3387, allocations: 16.84 kB / 0.566 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.339, allocations: 170.3 kB / 0.5662 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.339, allocations: 8.375 kB / 0.5662 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.3391, allocations: 4.328 kB / 0.5662 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.3392, allocations: 61.98 kB / 0.5663 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.3392, allocations: 4 kB / 0.5663 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.3393, allocations: 0 / 0.5663 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.3393, allocations: 4 kB / 0.5663 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.964e-05/0.3393, allocations: 19.98 kB / 0.5663 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/0.3398, allocations: 279.8 kB / 0.5665 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.34, allocations: 58.56 kB / 0.5666 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.614e-05/0.34, allocations: 20.97 kB / 0.5666 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.3401, allocations: 0 / 0.5666 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.3402, allocations: 71.33 kB / 0.5667 GB, free: 15.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.3402, allocations: 0 / 0.5667 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007398/0.3409, allocations: 261.1 kB / 0.5669 GB, free: 15.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.341, allocations: 55.41 kB / 0.567 GB, free: 14.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.3412, allocations: 242.8 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.3413, allocations: 29.7 kB / 0.5673 GB, free: 14.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.58e-05/0.3413, allocations: 112.1 kB / 0.5674 GB, free: 14.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.59e-05/0.3414, allocations: 35.69 kB / 0.5674 GB, free: 14.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.3414, allocations: 25.72 kB / 0.5674 GB, free: 14.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3416, allocations: 342.8 kB / 0.5677 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.78e-05/0.3416, allocations: 20 kB / 0.5678 GB, free: 14.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.439e-05/0.3417, allocations: 49.69 kB / 0.5678 GB, free: 14.08 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.3419, allocations: 81.59 kB / 0.5679 GB, free: 14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3419, allocations: 0 / 0.5679 GB, free: 14 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000221/0.3421, allocations: 133.5 kB / 0.568 GB, free: 13.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.3421, allocations: 10.38 kB / 0.568 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3421, allocations: 4 kB / 0.568 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.3421, allocations: 0 / 0.568 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.43e-05/0.3422, allocations: 19.98 kB / 0.5681 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.3422, allocations: 0 / 0.5681 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.467e-05/0.3423, allocations: 7.938 kB / 0.5681 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.3423, allocations: 4 kB / 0.5681 GB, free: 13.82 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 (13): * Single equations (assignments): 13 * 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.000116/0.3424, allocations: 141.8 kB / 0.5682 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.3424, allocations: 15.84 kB / 0.5682 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003616/0.3428, allocations: 151 kB / 0.5684 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3428, allocations: 0 / 0.5684 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3428, allocations: 4 kB / 0.5684 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.3428, allocations: 7.938 kB / 0.5684 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006032/0.3434, allocations: 427.1 kB / 0.5688 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3434, allocations: 0 / 0.5688 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.636e-05/0.3434, allocations: 20.05 kB / 0.5688 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.3434, allocations: 3.938 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.3435, allocations: 4 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3435, allocations: 0 / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.3435, allocations: 3.984 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.3437, allocations: 237 kB / 0.569 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.734e-05/0.3438, allocations: 23.84 kB / 0.5691 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.3438, allocations: 4 kB / 0.5691 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.882e-05/0.3439, allocations: 0 / 0.5691 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.3439, allocations: 11.98 kB / 0.5691 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.3439, allocations: 4 kB / 0.5691 GB, free: 12.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001686/0.3441, allocations: 192.2 kB / 0.5693 GB, free: 12.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3441, allocations: 0 / 0.5693 GB, free: 12.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.3444, allocations: 31.92 kB / 0.5693 GB, free: 12.46 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001858/0.3462, allocations: 0.5085 MB / 0.5698 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002137/0.3464, allocations: 79.84 kB / 0.5699 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.3464, allocations: 0 / 0.5699 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.578e-05/0.3465, allocations: 35.92 kB / 0.5699 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.3469, allocations: 38.94 kB / 0.5699 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005443/0.3474, allocations: 330.5 kB / 0.5702 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.3478, allocations: 0.7236 MB / 0.571 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.869e-05/0.3478, allocations: 15.44 kB / 0.571 GB, free: 10.86 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3478, allocations: 0 / 0.571 GB, free: 10.86 MB / 414.1 MB Notification: Performance of Templates: time 0.004321/0.3521, allocations: 2.302 MB / 0.5732 GB, free: 8.559 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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: 7.521092418115586]