Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.001459/0.001459, allocations: 91.5 kB / 21.19 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.001328/0.001328, allocations: 156.5 kB / 24.55 MB, free: 16 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.9877/0.9877, allocations: 177 MB / 204.8 MB, free: 5.598 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.2594/0.2594, allocations: 34.87 MB / 296.3 MB, free: 0.5469 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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.524e-06/2.524e-06, allocations: 0 / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.017e-05/4.269e-05, allocations: 3.156 kB / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003166/0.003209, allocations: 1.715 MB / 380.5 MB, free: 336 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008228/0.004032, allocations: 0.5796 MB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.834e-05/0.00409, allocations: 0 / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002476/0.004338, allocations: 47.75 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002834/0.004621, allocations: 99.47 kB / 381.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.004964, allocations: 175.5 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.005127, allocations: 91.73 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.005232, allocations: 12.17 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.437e-05/0.005296, allocations: 51.88 kB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.955e-05/0.005376, allocations: 39.89 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.005392, allocations: 8 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.462e-05/0.005476, allocations: 47.92 kB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.081e-05/0.005547, allocations: 23.91 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.856e-05/0.005586, allocations: 19.92 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.005786, allocations: 95.59 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.00579, allocations: 0 / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.005791, allocations: 0 / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.005796, allocations: 0 / 381.8 MB, free: 15.04 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004706/0.006267, allocations: 447.9 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.00631, allocations: 8.031 kB / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/0.006361, allocations: 24.84 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.006504, allocations: 144.3 kB / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-06/0.006513, allocations: 384 / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.006543, allocations: 8.312 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.0067, allocations: 74.91 kB / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.006712, allocations: 4.188 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.006725, allocations: 4.375 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.006733, allocations: 384 / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.11e-05/0.006774, allocations: 11.94 kB / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.007129, allocations: 307.6 kB / 382.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.00732, allocations: 51.05 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.084e-05/0.007351, allocations: 11.69 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.007376, allocations: 4 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.007401, allocations: 45.34 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.784e-06/0.007403, allocations: 0 / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007396/0.008143, allocations: 245.3 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.008185, allocations: 51.41 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.008337, allocations: 216.7 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.00835, allocations: 25.7 kB / 383.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.763e-05/0.008417, allocations: 146.9 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.008453, allocations: 43.64 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.008493, allocations: 31.36 kB / 383.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.008658, allocations: 0.5 MB / 384.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.008771, allocations: 8 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.938e-05/0.0088, allocations: 23.92 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.309e-05/0.008864, allocations: 43.69 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.008865, allocations: 4 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001121/0.008977, allocations: 97.83 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.008992, allocations: 4 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.008998, allocations: 0 / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.009013, allocations: 4 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.161e-05/0.009085, allocations: 24.48 kB / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.00909, allocations: 0 / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.611e-05/0.009116, allocations: 11.98 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.009124, allocations: 4 kB / 384.4 MB, free: 12.25 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 (11): * Single equations (assignments): 11 * 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 7.789e-05/0.009202, allocations: 172.5 kB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.009227, allocations: 15.91 kB / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.009409, allocations: 110.4 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.009412, allocations: 0 / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.009417, allocations: 0 / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.009421, allocations: 0 / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003377/0.009759, allocations: 416.6 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.009762, allocations: 4 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.651e-05/0.009819, allocations: 23.92 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.009824, allocations: 8.062 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.009833, allocations: 0 / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.009835, allocations: 0 / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.009837, allocations: 4 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.00999, allocations: 271 kB / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-06/0.01, allocations: 7.953 kB / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.01001, allocations: 0 / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.114e-05/0.01005, allocations: 11.98 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.0101, allocations: 11.92 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.0101, allocations: 4 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.907e-05/0.01017, allocations: 164.2 kB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.01017, allocations: 0 / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001771/0.01035, allocations: 20 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001015/0.01136, allocations: 433.1 kB / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001701/0.01153, allocations: 59.59 kB / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01153, allocations: 0 / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.8e-05/0.01158, allocations: 39.61 kB / 386.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.01184, allocations: 35.7 kB / 386.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004398/0.01228, allocations: 272.4 kB / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.569e-05/0.01233, allocations: 71.33 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.84e-05/0.01238, allocations: 24.47 kB / 386.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/0.01242, allocations: 24.5 kB / 386.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01242, allocations: 0 / 386.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of Templates: time 0.0034/0.01582, allocations: 1.651 MB / 388.2 MB, free: 8.43 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/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: 3.3933789688162506]