Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.0009941/0.0009941, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.00115/0.00115, allocations: 166.2 kB / 24.99 MB, free: 8.219 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.9386/0.9386, allocations: 177 MB / 205.2 MB, free: 5.582 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.2614/0.2614, allocations: 34.86 MB / 296.6 MB, free: 0.5586 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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 378.8 MB, free: 2.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.595e-05/2.789e-05, allocations: 6.25 kB / 378.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002293/0.002321, allocations: 1.628 MB / 380.4 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000756/0.003077, allocations: 0.5408 MB / 380.9 MB, free: 232 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.319e-05/0.003141, allocations: 0 / 380.9 MB, free: 232 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.003347, allocations: 23.84 kB / 381 MB, free: 208 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002798/0.003627, allocations: 79.56 kB / 381 MB, free: 128 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.003903, allocations: 107.6 kB / 381.1 MB, free: 20 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.004061, allocations: 83.69 kB / 381.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.645e-05/0.004158, allocations: 7.859 kB / 381.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.413e-05/0.004212, allocations: 31.91 kB / 381.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.004e-05/0.004262, allocations: 15.98 kB / 381.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.004276, allocations: 0 / 381.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.197e-05/0.004348, allocations: 31.98 kB / 381.3 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.479e-05/0.004393, allocations: 15.92 kB / 381.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.782e-05/0.004421, allocations: 11.94 kB / 381.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.004562, allocations: 75.67 kB / 381.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004564, allocations: 0 / 381.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.004565, allocations: 0 / 381.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.349e-06/0.00457, allocations: 4 kB / 381.4 MB, free: 15.75 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.0003891/0.004959, allocations: 412.1 kB / 381.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.004994, allocations: 12.03 kB / 381.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.005035, allocations: 8.891 kB / 381.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.005176, allocations: 132.5 kB / 382 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.005189, allocations: 4.375 kB / 382 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.005208, allocations: 384 / 382 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.005331, allocations: 58.94 kB / 382 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.005342, allocations: 4.172 kB / 382 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.005351, allocations: 4.312 kB / 382 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.005359, allocations: 4.375 kB / 382 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.364e-05/0.005393, allocations: 15.94 kB / 382.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002939/0.005687, allocations: 267.8 kB / 382.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.005837, allocations: 43.05 kB / 382.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.168e-05/0.005859, allocations: 15.62 kB / 382.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.005877, allocations: 0 / 382.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.005897, allocations: 33.48 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.005898, allocations: 0 / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003279/0.006226, allocations: 113.3 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.006255, allocations: 59.41 kB / 382.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.00636, allocations: 193.9 kB / 382.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.006369, allocations: 25.7 kB / 382.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.006419, allocations: 146.8 kB / 382.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.00644, allocations: 23.8 kB / 383 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.006471, allocations: 27.36 kB / 383 MB, free: 13.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.006584, allocations: 0.4884 MB / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.851e-05/0.006612, allocations: 3.984 kB / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.455e-05/0.006627, allocations: 8 kB / 383.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.071e-05/0.006667, allocations: 19.69 kB / 383.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.006668, allocations: 0 / 383.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.721e-05/0.006756, allocations: 73.52 kB / 383.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.00677, allocations: 4 kB / 383.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.006775, allocations: 0 / 383.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.006788, allocations: 4 kB / 383.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.462e-05/0.006832, allocations: 12.23 kB / 383.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.006838, allocations: 3.938 kB / 383.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.945e-05/0.006857, allocations: 8 kB / 383.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.006862, allocations: 0 / 383.6 MB, free: 13.34 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 6.258e-05/0.006925, allocations: 156.6 kB / 383.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.006943, allocations: 15.89 kB / 383.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.007081, allocations: 70.08 kB / 383.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.007084, allocations: 0 / 383.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.007088, allocations: 0 / 383.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.007092, allocations: 0 / 383.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/0.007341, allocations: 321.4 kB / 384.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.007344, allocations: 0 / 384.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.222e-05/0.007376, allocations: 11.94 kB / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.007379, allocations: 0 / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.007387, allocations: 7.984 kB / 384.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.007389, allocations: 0 / 384.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.00739, allocations: 0 / 384.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.0075, allocations: 211.8 kB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.353e-05/0.007513, allocations: 7.953 kB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.007525, allocations: 0 / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.175e-05/0.007557, allocations: 8 kB / 384.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.067e-05/0.007588, allocations: 3.984 kB / 384.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.007592, allocations: 0 / 384.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.936e-05/0.007651, allocations: 150.3 kB / 384.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007651, allocations: 0 / 384.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001624/0.007813, allocations: 15.98 kB / 384.6 MB, free: 12.3 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.0008684/0.008682, allocations: 386.4 kB / 384.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.852e-05/0.00878, allocations: 31.67 kB / 385 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.008782, allocations: 0 / 385 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.604e-05/0.008808, allocations: 27.67 kB / 385 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.009023, allocations: 27.86 kB / 385 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003134/0.009336, allocations: 178.5 kB / 385.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.973e-05/0.009376, allocations: 63.34 kB / 385.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.779e-05/0.009414, allocations: 15.97 kB / 385.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.009442, allocations: 12.5 kB / 385.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of SimCode: time 9.71e-07/0.009443, allocations: 0 / 385.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of Templates: time 0.002918/0.01236, allocations: 1.165 MB / 386.5 MB, free: 10.47 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.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.9893049839884043]