Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.0009823/0.0009823, allocations: 85.81 kB / 21.43 MB, free: 3.07 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.0009915/0.0009915, allocations: 163.4 kB / 24.82 MB, free: 9.312 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.9572/0.9572, allocations: 177 MB / 205.1 MB, free: 5.477 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.2707/0.2707, allocations: 34.86 MB / 296.6 MB, free: 0.5078 MB / 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 379.3 MB, free: 1.754 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.798e-05, allocations: 6.25 kB / 379.3 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002171/0.002189, allocations: 1.765 MB / 381.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.003861, allocations: 0.9967 MB / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.682e-05/0.003948, allocations: 3.938 kB / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000288/0.004236, allocations: 51.75 kB / 382.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002815/0.004517, allocations: 103.4 kB / 382.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.0047, allocations: 71.67 kB / 382.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.004841, allocations: 111.6 kB / 382.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.694e-05/0.004918, allocations: 4 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.915e-05/0.004998, allocations: 59.81 kB / 382.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.243e-05/0.00506, allocations: 19.92 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.005073, allocations: 4 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.63e-05/0.005149, allocations: 51.84 kB / 382.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.409e-05/0.005193, allocations: 27.86 kB / 382.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.355e-05/0.005227, allocations: 23.92 kB / 382.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.005372, allocations: 95.66 kB / 382.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.005374, allocations: 0 / 382.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.005375, allocations: 4 kB / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.005379, allocations: 0 / 382.7 MB, free: 14.34 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003902/0.005769, allocations: 455.7 kB / 383.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.005802, allocations: 12.03 kB / 383.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.146e-05/0.005834, allocations: 12.89 kB / 383.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.005967, allocations: 160.8 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.005982, allocations: 4.375 kB / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.006, allocations: 4.375 kB / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.672e-05/0.006097, allocations: 58.94 kB / 383.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.006106, allocations: 192 / 383.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.006112, allocations: 384 / 383.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.006121, allocations: 7.922 kB / 383.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.191e-05/0.006143, allocations: 8 kB / 383.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000226/0.006369, allocations: 260.4 kB / 383.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.891e-05/0.006448, allocations: 51.09 kB / 383.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.017e-05/0.006468, allocations: 15.69 kB / 383.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.006483, allocations: 8 kB / 383.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.785e-05/0.006561, allocations: 61.03 kB / 383.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.006563, allocations: 0 / 383.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002999/0.006862, allocations: 149.3 kB / 383.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.006888, allocations: 51.41 kB / 384 MB, free: 12.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.007004, allocations: 237.8 kB / 384.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.007016, allocations: 25.7 kB / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.763e-05/0.007074, allocations: 154.8 kB / 384.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.007102, allocations: 27.78 kB / 384.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.007133, allocations: 31.38 kB / 384.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.007269, allocations: 0.5001 MB / 385 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.907e-05/0.007288, allocations: 8 kB / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.881e-05/0.007317, allocations: 27.36 kB / 385 MB, free: 11.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.764e-05/0.007365, allocations: 47.36 kB / 385 MB, free: 11.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.007366, allocations: 3.938 kB / 385 MB, free: 11.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.497e-05/0.007461, allocations: 85.89 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.007474, allocations: 8 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.00748, allocations: 4.031 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.007492, allocations: 0 / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.711e-05/0.007559, allocations: 23.94 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.007563, allocations: 7.938 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.825e-05/0.007591, allocations: 3.984 kB / 385.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.007598, allocations: 4 kB / 385.2 MB, free: 11.65 MB / 362.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 6.844e-05/0.007666, allocations: 156.6 kB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.007682, allocations: 19.84 kB / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.007806, allocations: 103 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.007807, allocations: 4 kB / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.007808, allocations: 4 kB / 385.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.007812, allocations: 0 / 385.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/0.008055, allocations: 365.6 kB / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.008057, allocations: 0 / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.512e-05/0.008083, allocations: 12 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.008084, allocations: 0 / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.008091, allocations: 4 kB / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.008092, allocations: 0 / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.008093, allocations: 0 / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.008228, allocations: 259.4 kB / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.172e-05/0.008239, allocations: 15.97 kB / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.008256, allocations: 4 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.97e-05/0.008296, allocations: 4 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.411e-05/0.00832, allocations: 7.922 kB / 386.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.00833, allocations: 4 kB / 386.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.241e-05/0.008402, allocations: 172.2 kB / 386.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008403, allocations: 0 / 386.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001744/0.008577, allocations: 31.92 kB / 386.3 MB, free: 10.43 MB / 362.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.00083/0.009407, allocations: 434 kB / 386.7 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.507e-05/0.009502, allocations: 51.52 kB / 386.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.009505, allocations: 4 kB / 386.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.091e-05/0.009536, allocations: 23.62 kB / 386.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.009746, allocations: 43.8 kB / 386.9 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.01005, allocations: 221.9 kB / 387.1 MB, free: 9.754 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.758e-05/0.01009, allocations: 71.33 kB / 387.1 MB, free: 9.664 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.617e-05/0.01013, allocations: 21.39 kB / 387.2 MB, free: 9.641 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.681e-05/0.01019, allocations: 94.19 kB / 387.3 MB, free: 9.547 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01019, allocations: 0 / 387.3 MB, free: 9.547 MB / 362.7 MB Notification: Performance of Templates: time 0.00362/0.01381, allocations: 2.031 MB / 389.3 MB, free: 7.547 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.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: 2.9506541341543198]