Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.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.0009264/0.0009264, 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.0009291/0.0009291, allocations: 163 kB / 24.99 MB, free: 9.316 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.939/0.939, allocations: 177 MB / 205.2 MB, free: 5.617 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.2575/0.2575, allocations: 34.87 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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,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.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 378.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.636e-05/1.763e-05, allocations: 6.25 kB / 378.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.002002/0.00202, allocations: 1.624 MB / 380.4 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.003218, allocations: 1.277 MB / 381.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.987e-05/0.003278, allocations: 7.938 kB / 381.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.00349, allocations: 31.78 kB / 381.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002779/0.003768, allocations: 87.53 kB / 381.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.003993, allocations: 103.7 kB / 381.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.004116, allocations: 71.77 kB / 382 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.259e-05/0.004198, allocations: 15.8 kB / 382 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.754e-05/0.004256, allocations: 39.83 kB / 382 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.837e-05/0.004344, allocations: 19.98 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.004358, allocations: 8 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.004532, allocations: 95.75 kB / 382.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.489e-05/0.004577, allocations: 15.97 kB / 382.2 MB, free: 15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.004604, allocations: 11.94 kB / 382.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.004806, allocations: 131.6 kB / 382.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.004808, allocations: 0 / 382.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.01e-07/0.004809, allocations: 0 / 382.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.004814, allocations: 0 / 382.3 MB, free: 14.86 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.0004051/0.005219, allocations: 439.9 kB / 382.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.005252, allocations: 8.031 kB / 382.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.005296, allocations: 16.89 kB / 382.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.005442, allocations: 128.5 kB / 382.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.005453, allocations: 4.375 kB / 382.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.00547, allocations: 384 / 382.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.005625, allocations: 112 kB / 383 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.005637, allocations: 192 / 383 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.005646, allocations: 384 / 383 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.005654, allocations: 384 / 383 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.344e-05/0.005687, allocations: 15.81 kB / 383 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002638/0.005951, allocations: 279.8 kB / 383.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.006084, allocations: 39.06 kB / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.31e-05/0.006107, allocations: 19.77 kB / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.006123, allocations: 0 / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.006146, allocations: 45.31 kB / 383.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.006147, allocations: 0 / 383.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003164/0.006463, allocations: 105.3 kB / 383.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.006499, allocations: 77.11 kB / 383.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.006615, allocations: 201 kB / 383.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.006624, allocations: 25.7 kB / 383.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.484e-05/0.006669, allocations: 142.9 kB / 383.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.006687, allocations: 23.84 kB / 383.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.006716, allocations: 27.38 kB / 384 MB, free: 12.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.006818, allocations: 496.1 kB / 384.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.649e-05/0.006834, allocations: 8 kB / 384.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.209e-05/0.006866, allocations: 49.08 kB / 384.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.364e-05/0.0069, allocations: 23.67 kB / 384.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.006902, allocations: 4 kB / 384.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.929e-05/0.006971, allocations: 61.56 kB / 384.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.006982, allocations: 8 kB / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.006986, allocations: 0 / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.006997, allocations: 0 / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.699e-05/0.007034, allocations: 12.28 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.007038, allocations: 0 / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.424e-05/0.007063, allocations: 15.94 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.007066, allocations: 0 / 384.6 MB, free: 12.27 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.25e-05/0.007129, allocations: 160.6 kB / 384.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.974e-05/0.007149, allocations: 11.89 kB / 384.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.938e-05/0.007248, allocations: 70.02 kB / 384.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.007251, allocations: 4 kB / 384.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.007253, allocations: 0 / 384.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.007256, allocations: 0 / 384.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.00748, allocations: 325.4 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.007481, allocations: 0 / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.74e-05/0.007509, allocations: 19.94 kB / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.00751, allocations: 3.938 kB / 385.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-06/0.007516, allocations: 0 / 385.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.007518, allocations: 3.984 kB / 385.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.007518, allocations: 0 / 385.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.007619, allocations: 211.8 kB / 385.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-06/0.007626, allocations: 3.953 kB / 385.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.007637, allocations: 0 / 385.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.248e-05/0.007669, allocations: 8 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.007699, allocations: 7.984 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.007702, allocations: 0 / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.352e-05/0.007775, allocations: 147.2 kB / 385.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.007776, allocations: 0 / 385.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002453/0.008021, allocations: 39.86 kB / 385.6 MB, free: 11.2 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.000989/0.00901, allocations: 483.7 kB / 386.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001044/0.009114, allocations: 31.67 kB / 386.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.009116, allocations: 0 / 386.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.259e-05/0.009139, allocations: 23.62 kB / 386.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.009348, allocations: 27.67 kB / 386.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/0.009636, allocations: 181.8 kB / 386.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.459e-05/0.009671, allocations: 63.34 kB / 386.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.063e-05/0.009712, allocations: 11.98 kB / 386.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.009749, allocations: 20.48 kB / 386.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.00975, allocations: 0 / 386.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of Templates: time 0.003203/0.01295, allocations: 1.834 MB / 388.3 MB, free: 8.633 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.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.0726019931025803]