Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.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.0009311/0.0009311, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.0009664/0.0009664, allocations: 166.5 kB / 24.99 MB, free: 8.801 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.9963/0.9963, allocations: 177 MB / 205.2 MB, free: 5.59 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.3014/0.3014, allocations: 34.87 MB / 296.6 MB, free: 0.582 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.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 378.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.871e-05, allocations: 2.312 kB / 378.8 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002322/0.002351, allocations: 1.678 MB / 380.4 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007408/0.003092, allocations: 0.5486 MB / 381 MB, free: 156 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.882e-05/0.00316, allocations: 0 / 381 MB, free: 156 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002799/0.00344, allocations: 91.67 kB / 381.1 MB, free: 64 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.003725, allocations: 111.5 kB / 381.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.003947, allocations: 103.6 kB / 381.3 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.0041, allocations: 103.7 kB / 381.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.531e-05/0.004195, allocations: 19.92 kB / 381.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.433e-05/0.00426, allocations: 59.81 kB / 381.5 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.846e-05/0.004348, allocations: 59.86 kB / 381.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.004367, allocations: 4 kB / 381.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.061e-05/0.004448, allocations: 43.92 kB / 381.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.945e-05/0.004497, allocations: 31.86 kB / 381.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.634e-05/0.004533, allocations: 19.92 kB / 381.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.00469, allocations: 111.5 kB / 381.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.004693, allocations: 4 kB / 381.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004693, allocations: 0 / 381.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.004697, allocations: 0 / 381.7 MB, free: 15.4 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003915/0.005088, allocations: 455.8 kB / 382.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.005126, allocations: 12.03 kB / 382.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.005171, allocations: 20.84 kB / 382.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.005308, allocations: 156.4 kB / 382.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.005318, allocations: 4.375 kB / 382.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.005344, allocations: 4.375 kB / 382.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.005475, allocations: 78.81 kB / 382.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.005486, allocations: 4.188 kB / 382.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.005495, allocations: 384 / 382.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.005504, allocations: 4.375 kB / 382.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.754e-05/0.005552, allocations: 23.92 kB / 382.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.005891, allocations: 319.6 kB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.686e-05/0.005968, allocations: 62.97 kB / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.514e-05/0.005993, allocations: 15.69 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.006012, allocations: 3.938 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.006033, allocations: 37.39 kB / 382.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.863e-06/0.006035, allocations: 8 kB / 382.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005904/0.006626, allocations: 240.5 kB / 383.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.006653, allocations: 51.41 kB / 383.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.006798, allocations: 246.8 kB / 383.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.00681, allocations: 37.64 kB / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.906e-05/0.006869, allocations: 158.9 kB / 383.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.0069, allocations: 47.72 kB / 383.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.006936, allocations: 35.36 kB / 383.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.007053, allocations: 0.5079 MB / 384.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.862e-05/0.007082, allocations: 11.98 kB / 384.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.601e-05/0.007108, allocations: 20 kB / 384.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.653e-05/0.007175, allocations: 51.67 kB / 384.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.007175, allocations: 3.938 kB / 384.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001188/0.007294, allocations: 105.6 kB / 384.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.007306, allocations: 6.812 kB / 384.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.00731, allocations: 0 / 384.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.007321, allocations: 0 / 384.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.825e-05/0.007399, allocations: 23.98 kB / 384.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.007405, allocations: 4 kB / 384.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.064e-05/0.007426, allocations: 8 kB / 384.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.007432, allocations: 4 kB / 384.5 MB, free: 12.46 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 (13): * Single equations (assignments): 13 * 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.979e-05/0.007502, allocations: 168.5 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.007527, allocations: 19.86 kB / 384.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001652/0.007692, allocations: 134.8 kB / 384.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.007695, allocations: 4 kB / 384.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.007698, allocations: 0 / 384.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.007701, allocations: 0 / 384.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003311/0.008032, allocations: 440.8 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.008034, allocations: 0 / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.749e-05/0.008081, allocations: 23.98 kB / 385.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.008083, allocations: 0 / 385.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.008091, allocations: 4 kB / 385.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.008093, allocations: 0 / 385.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.008095, allocations: 7.922 kB / 385.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.008247, allocations: 263.5 kB / 385.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.309e-05/0.00826, allocations: 19.89 kB / 385.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.008272, allocations: 0 / 385.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.656e-05/0.008308, allocations: 8 kB / 385.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.00834, allocations: 15.95 kB / 385.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.008345, allocations: 4 kB / 385.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.982e-05/0.008425, allocations: 185 kB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008425, allocations: 0 / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00017/0.008595, allocations: 27.94 kB / 385.8 MB, free: 11.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.0008617/0.009457, allocations: 424.7 kB / 386.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.009587, allocations: 75.53 kB / 386.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.009589, allocations: 0 / 386.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.033e-05/0.009629, allocations: 39.61 kB / 386.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.009845, allocations: 35.31 kB / 386.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/0.01023, allocations: 268.7 kB / 386.6 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.38e-05/0.01027, allocations: 75.33 kB / 386.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.037e-05/0.01031, allocations: 16.47 kB / 386.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.203e-05/0.01034, allocations: 28.56 kB / 386.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01034, allocations: 0 / 386.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of Templates: time 0.002999/0.01334, allocations: 1.546 MB / 388.3 MB, free: 8.68 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.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.0667661379557103]