Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.001007/0.001007, allocations: 79.69 kB / 21.7 MB, free: 2.844 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.001323/0.001323, allocations: 161.8 kB / 24.99 MB, free: 8.246 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.9398/0.9398, allocations: 177 MB / 205.2 MB, free: 5.602 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.2406/0.2406, allocations: 34.86 MB / 296.6 MB, free: 0.5273 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.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 378.8 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.562e-05/2.752e-05, allocations: 6.312 kB / 378.8 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.002502/0.00253, allocations: 1.623 MB / 380.4 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007186/0.003248, allocations: 0.5446 MB / 380.9 MB, free: 192 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.903e-05/0.003307, allocations: 0 / 380.9 MB, free: 192 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.003498, allocations: 23.86 kB / 381 MB, free: 168 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002478/0.003746, allocations: 79.55 kB / 381 MB, free: 88 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.003988, allocations: 111.7 kB / 381.2 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.004115, allocations: 79.66 kB / 381.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.732e-05/0.004213, allocations: 7.859 kB / 381.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.675e-05/0.004269, allocations: 35.89 kB / 381.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.787e-05/0.004317, allocations: 15.92 kB / 381.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.00433, allocations: 4 kB / 381.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.963e-05/0.00439, allocations: 24 kB / 381.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.388e-05/0.004434, allocations: 23.91 kB / 381.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.525e-05/0.004459, allocations: 8 kB / 381.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.004595, allocations: 71.69 kB / 381.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.004597, allocations: 0 / 381.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.004597, allocations: 4 kB / 381.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.004601, allocations: 3.938 kB / 381.4 MB, free: 15.7 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003619/0.004963, allocations: 420.1 kB / 381.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.004995, allocations: 8.031 kB / 381.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.005033, allocations: 8.891 kB / 381.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.005164, allocations: 140.4 kB / 382 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.005172, allocations: 384 / 382 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.005191, allocations: 8.375 kB / 382 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.816e-05/0.005289, allocations: 54.95 kB / 382 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.005297, allocations: 4.125 kB / 382.1 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.005306, allocations: 4.359 kB / 382.1 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.005313, allocations: 4.375 kB / 382.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.882e-05/0.005341, allocations: 15.92 kB / 382.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002672/0.005609, allocations: 275.8 kB / 382.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.005748, allocations: 39 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.158e-05/0.00577, allocations: 15.77 kB / 382.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.005786, allocations: 4 kB / 382.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.005804, allocations: 33.39 kB / 382.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.005805, allocations: 0 / 382.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003037/0.006109, allocations: 101.4 kB / 382.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.006137, allocations: 59.41 kB / 382.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.006243, allocations: 205.9 kB / 382.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.286e-06/0.006251, allocations: 25.7 kB / 382.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.934e-05/0.006301, allocations: 146.8 kB / 383 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.006317, allocations: 15.91 kB / 383 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/0.006345, allocations: 23.38 kB / 383 MB, free: 13.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.006454, allocations: 0.4961 MB / 383.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.92e-05/0.006473, allocations: 4 kB / 383.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.367e-05/0.006487, allocations: 7.984 kB / 383.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.314e-05/0.00652, allocations: 23.69 kB / 383.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.006521, allocations: 4 kB / 383.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.114e-05/0.006592, allocations: 73.47 kB / 383.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.006603, allocations: 4 kB / 383.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.006607, allocations: 0 / 383.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.006618, allocations: 0 / 383.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.519e-05/0.006653, allocations: 8 kB / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.006658, allocations: 0 / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.721e-05/0.006675, allocations: 8.234 kB / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.006679, allocations: 0 / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 5.83e-05/0.006737, allocations: 160.6 kB / 383.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/0.006757, allocations: 15.89 kB / 383.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.00686, allocations: 74.08 kB / 383.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.006862, allocations: 0 / 383.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.006865, allocations: 0 / 383.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.006868, allocations: 0 / 383.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.007075, allocations: 329.4 kB / 384.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.007076, allocations: 0 / 384.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.533e-05/0.007101, allocations: 11.94 kB / 384.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.007103, allocations: 0 / 384.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.00711, allocations: 4 kB / 384.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.007111, allocations: 0 / 384.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.007111, allocations: 4 kB / 384.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.504e-05/0.007206, allocations: 211.8 kB / 384.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-06/0.007213, allocations: 7.953 kB / 384.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.007224, allocations: 0 / 384.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.142e-05/0.007255, allocations: 4 kB / 384.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.00728, allocations: 3.984 kB / 384.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.007282, allocations: 0 / 384.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.97e-05/0.007342, allocations: 152.1 kB / 384.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007342, allocations: 0 / 384.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001607/0.007503, allocations: 27.86 kB / 384.6 MB, free: 12.22 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0007052/0.008208, allocations: 373.3 kB / 385 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.329e-05/0.008291, allocations: 35.67 kB / 385 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.008293, allocations: 0 / 385 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.852e-05/0.008321, allocations: 23.67 kB / 385 MB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.008521, allocations: 26.73 kB / 385.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002801/0.008801, allocations: 186.5 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.618e-05/0.008837, allocations: 67.34 kB / 385.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.151e-05/0.008869, allocations: 15.97 kB / 385.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.4e-05/0.008893, allocations: 12.5 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.008893, allocations: 0 / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of Templates: time 0.002476/0.01137, allocations: 1.169 MB / 386.5 MB, free: 10.39 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.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.0202480230946094]