Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.00146/0.00146, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001543/0.001543, allocations: 156.9 kB / 24.27 MB, free: 172 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 1.544/1.544, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.3676/0.3676, allocations: 34.25 MB / 295.2 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.908e-05/3.088e-05, allocations: 3.578 kB / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003491/0.003522, allocations: 1.601 MB / 378.8 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002158/0.005681, allocations: 1.25 MB / 380.1 MB, free: 28 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.348e-05/0.005754, allocations: 4 kB / 380.1 MB, free: 24 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.006009, allocations: 23.78 kB / 380.1 MB, free: 0 / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003703/0.006379, allocations: 83.56 kB / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.006679, allocations: 103.6 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.006842, allocations: 63.83 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.006942, allocations: 7.938 kB / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.313e-05/0.007025, allocations: 35.91 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.007156, allocations: 27.91 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.007178, allocations: 4 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.007369, allocations: 91.81 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.582e-05/0.007425, allocations: 11.98 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.314e-05/0.007468, allocations: 11.94 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000302/0.00777, allocations: 143.5 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.007773, allocations: 7.938 kB / 380.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.007774, allocations: 4 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.00778, allocations: 0 / 380.7 MB, free: 15.41 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.0005622/0.008342, allocations: 325.7 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.008377, allocations: 8.031 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.506e-05/0.008432, allocations: 8.891 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.008662, allocations: 133.7 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.008673, allocations: 4.375 kB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.008699, allocations: 4.375 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.00889, allocations: 89.59 kB / 381.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.0089, allocations: 4.188 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.008913, allocations: 4.375 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.008917, allocations: 4.375 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.962e-05/0.009016, allocations: 27.91 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003609/0.009377, allocations: 220.5 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.009614, allocations: 50.5 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.412e-05/0.009668, allocations: 12.8 kB / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.009689, allocations: 0 / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.009722, allocations: 42.64 kB / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.42e-07/0.009723, allocations: 0 / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006185/0.01034, allocations: 149.3 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/0.01041, allocations: 77.11 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.01061, allocations: 145.7 kB / 382 MB, free: 13.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.01063, allocations: 29.7 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.381e-05/0.01071, allocations: 92.12 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.01073, allocations: 11.91 kB / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/0.01078, allocations: 21.72 kB / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.01096, allocations: 322.8 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.356e-05/0.01104, allocations: 15.98 kB / 382.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.01114, allocations: 63.34 kB / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.01128, allocations: 44.83 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.01128, allocations: 0 / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002248/0.01151, allocations: 89.59 kB / 382.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.01152, allocations: 10.8 kB / 382.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.01153, allocations: 0 / 382.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.01155, allocations: 0 / 382.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.877e-05/0.01162, allocations: 12.25 kB / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.01162, allocations: 0 / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.78e-05/0.01168, allocations: 19.86 kB / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.01168, allocations: 0 / 382.7 MB, free: 13.21 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 0.0001034/0.01179, allocations: 113.8 kB / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.576e-05/0.01183, allocations: 15.89 kB / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.01209, allocations: 94.08 kB / 382.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.0121, allocations: 3.984 kB / 382.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.0121, allocations: 0 / 382.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.0121, allocations: 0 / 382.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007161/0.01282, allocations: 290.1 kB / 383.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01282, allocations: 0 / 383.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.067e-05/0.01288, allocations: 15.98 kB / 383.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.01289, allocations: 4 kB / 383.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.0129, allocations: 4 kB / 383.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.0129, allocations: 3.938 kB / 383.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.0129, allocations: 0 / 383.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.01317, allocations: 187.3 kB / 383.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.784e-05/0.01319, allocations: 7.953 kB / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.01321, allocations: 0 / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.119e-05/0.0133, allocations: 7.984 kB / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.01334, allocations: 0 / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.01334, allocations: 4 kB / 383.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001182/0.01346, allocations: 115.2 kB / 383.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01346, allocations: 0 / 383.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002954/0.01376, allocations: 39.88 kB / 383.6 MB, free: 12.25 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.002305/0.01606, allocations: 0.5174 MB / 384.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002219/0.01628, allocations: 43.97 kB / 384.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01629, allocations: 0 / 384.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.109e-05/0.01637, allocations: 23.92 kB / 384.2 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.01676, allocations: 27.92 kB / 384.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005262/0.01728, allocations: 180.3 kB / 384.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.952e-05/0.01738, allocations: 71.33 kB / 384.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.332e-05/0.01745, allocations: 15.97 kB / 384.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.75e-05/0.01749, allocations: 12.5 kB / 384.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01749, allocations: 4 kB / 384.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of Templates: time 0.005528/0.02302, allocations: 1.831 MB / 386.3 MB, free: 9.664 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.021783791016787]