Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.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.00149/0.00149, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001584/0.001584, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.9645/0.9645, allocations: 177 MB / 204.8 MB, free: 5.594 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.2482/0.2482, allocations: 34.88 MB / 296.3 MB, free: 472 kB / 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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,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.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 378.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.803e-05/1.979e-05, allocations: 2.312 kB / 378.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.0023/0.002319, allocations: 1.63 MB / 380.4 MB, free: 400 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009083/0.003228, allocations: 0.5447 MB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.335e-05/0.003291, allocations: 3.938 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002891/0.00358, allocations: 31.84 kB / 381 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003164/0.003897, allocations: 87.55 kB / 381.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.004143, allocations: 111.6 kB / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.004274, allocations: 63.78 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.999e-05/0.004364, allocations: 11.86 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.977e-05/0.004424, allocations: 31.89 kB / 381.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.338e-05/0.004478, allocations: 19.92 kB / 381.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.004492, allocations: 8 kB / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.213e-05/0.004564, allocations: 24 kB / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.173e-05/0.004615, allocations: 15.92 kB / 381.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.894e-05/0.004644, allocations: 19.92 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.004786, allocations: 75.67 kB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.004788, allocations: 0 / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.004789, allocations: 0 / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.004793, allocations: 7.938 kB / 381.5 MB, free: 15.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000431/0.005224, allocations: 412.1 kB / 381.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.005267, allocations: 12.03 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.005315, allocations: 16.88 kB / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.005478, allocations: 137.1 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.005492, allocations: 4.375 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.005519, allocations: 4.375 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.005656, allocations: 54.95 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.00567, allocations: 4.188 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.005682, allocations: 4.125 kB / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.178e-06/0.005692, allocations: 0 / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.063e-05/0.005722, allocations: 11.92 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000292/0.006014, allocations: 283.7 kB / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.006169, allocations: 47.05 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.333e-05/0.006192, allocations: 15.67 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.006209, allocations: 7.875 kB / 382.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.006229, allocations: 33.39 kB / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.00623, allocations: 0 / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003214/0.006551, allocations: 105.5 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.006581, allocations: 51.41 kB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.006694, allocations: 215.3 kB / 382.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.006704, allocations: 25.7 kB / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.406e-05/0.006758, allocations: 146.8 kB / 383 MB, free: 13.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.006777, allocations: 19.83 kB / 383 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.892e-05/0.006806, allocations: 27.38 kB / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.00693, allocations: 0.4884 MB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.782e-05/0.006948, allocations: 4 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.346e-05/0.006961, allocations: 8 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.506e-05/0.006996, allocations: 31.61 kB / 383.6 MB, free: 13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.006998, allocations: 0 / 383.6 MB, free: 13 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.793e-05/0.007065, allocations: 61.53 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.007079, allocations: 7.984 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.007084, allocations: 4 kB / 383.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.007097, allocations: 0 / 383.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.873e-05/0.007136, allocations: 16 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.007141, allocations: 0 / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.741e-05/0.007158, allocations: 4 kB / 383.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.007164, allocations: 4.234 kB / 383.7 MB, free: 12.9 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.367e-05/0.007228, allocations: 152.6 kB / 383.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.007248, allocations: 19.84 kB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.00737, allocations: 74.08 kB / 383.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.007373, allocations: 4 kB / 383.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.007378, allocations: 0 / 383.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.007381, allocations: 0 / 383.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.007608, allocations: 329.4 kB / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.007609, allocations: 0 / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.775e-05/0.007637, allocations: 11.94 kB / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.007639, allocations: 0 / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.007647, allocations: 8 kB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.007648, allocations: 0 / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007649, allocations: 0 / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.007758, allocations: 207.8 kB / 384.5 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.728e-06/0.007768, allocations: 11.94 kB / 384.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.007779, allocations: 0 / 384.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.897e-05/0.007808, allocations: 8 kB / 384.5 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.007838, allocations: 0 / 384.5 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.007842, allocations: 4 kB / 384.5 MB, free: 12.01 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.149e-05/0.007914, allocations: 157.6 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007914, allocations: 0 / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001628/0.008077, allocations: 19.98 kB / 384.7 MB, free: 11.84 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.0008266/0.008903, allocations: 379.7 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001092/0.009013, allocations: 31.67 kB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.009014, allocations: 0 / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.608e-05/0.00904, allocations: 23.8 kB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.009252, allocations: 19.92 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003564/0.009609, allocations: 198.2 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.744e-05/0.009656, allocations: 67.33 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.717e-05/0.009693, allocations: 11.98 kB / 385.4 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/0.009724, allocations: 16.48 kB / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.009725, allocations: 0 / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of Templates: time 0.003/0.01272, allocations: 1.267 MB / 386.7 MB, free: 9.902 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.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.1267333910800517]