Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.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.001303/0.001303, allocations: 84.86 kB / 21.5 MB, free: 2.988 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.001256/0.001256, allocations: 161.8 kB / 24.91 MB, free: 8.766 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.9336/0.9336, allocations: 177 MB / 205.2 MB, free: 5.438 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.2592/0.2592, allocations: 34.86 MB / 296.6 MB, free: 0.5078 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.Test1,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.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.39e-05, allocations: 4.281 kB / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.005786/0.005809, allocations: 1.643 MB / 327.6 MB, free: 5.504 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000879/0.006688, allocations: 0.5291 MB / 328.1 MB, free: 4.973 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.563e-05/0.006744, allocations: 0 / 328.1 MB, free: 4.973 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.00694, allocations: 27.78 kB / 328.1 MB, free: 4.945 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002671/0.007207, allocations: 79.56 kB / 328.2 MB, free: 4.867 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.007436, allocations: 91.69 kB / 328.3 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.007569, allocations: 71.7 kB / 328.4 MB, free: 4.707 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003106/0.01067, allocations: 8 kB / 328.4 MB, free: 4.699 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.121e-05/0.01075, allocations: 35.91 kB / 328.4 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.646e-05/0.0108, allocations: 15.92 kB / 328.4 MB, free: 4.648 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.01082, allocations: 3.984 kB / 328.4 MB, free: 4.645 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.496e-05/0.01089, allocations: 31.94 kB / 328.5 MB, free: 4.613 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.01093, allocations: 11.98 kB / 328.5 MB, free: 4.602 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.385e-05/0.01096, allocations: 11.94 kB / 328.5 MB, free: 4.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.01111, allocations: 75.67 kB / 328.6 MB, free: 4.516 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.01111, allocations: 0 / 328.6 MB, free: 4.516 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01111, allocations: 0 / 328.6 MB, free: 4.516 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.886e-06/0.01111, allocations: 0 / 328.6 MB, free: 4.516 MB / 298.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.0003194/0.01143, allocations: 286.6 kB / 328.8 MB, free: 4.211 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.01146, allocations: 8.031 kB / 328.8 MB, free: 4.203 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.797e-05/0.01149, allocations: 4.938 kB / 328.8 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.01163, allocations: 137.6 kB / 329 MB, free: 4.039 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.01164, allocations: 4.375 kB / 329 MB, free: 4.035 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.01166, allocations: 384 / 329 MB, free: 4.035 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.939e-05/0.01175, allocations: 62.88 kB / 329 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.01175, allocations: 192 / 329 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-06/0.01176, allocations: 384 / 329 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.01177, allocations: 384 / 329 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.214e-05/0.01179, allocations: 7.938 kB / 329.1 MB, free: 3.957 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001972/0.01198, allocations: 163.1 kB / 329.2 MB, free: 3.781 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.01211, allocations: 34.55 kB / 329.2 MB, free: 3.738 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.634e-05/0.01212, allocations: 12.8 kB / 329.3 MB, free: 3.723 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.01214, allocations: 96 / 329.3 MB, free: 3.723 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.01216, allocations: 38.61 kB / 329.3 MB, free: 3.676 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.01216, allocations: 0 / 329.3 MB, free: 3.676 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002561/0.01242, allocations: 85.48 kB / 329.4 MB, free: 3.586 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.01245, allocations: 51.41 kB / 329.4 MB, free: 3.523 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.01255, allocations: 144.6 kB / 329.6 MB, free: 3.371 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.01256, allocations: 33.7 kB / 329.6 MB, free: 3.332 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.145e-05/0.0126, allocations: 88.12 kB / 329.7 MB, free: 3.242 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.01262, allocations: 23.78 kB / 329.7 MB, free: 3.219 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/0.01265, allocations: 21.7 kB / 329.7 MB, free: 3.191 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.863e-05/0.01274, allocations: 322.8 kB / 330.1 MB, free: 2.867 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.232e-05/0.01275, allocations: 0 / 330.1 MB, free: 2.867 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.212e-05/0.01276, allocations: 4 kB / 330.1 MB, free: 2.863 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.245e-05/0.0128, allocations: 20.84 kB / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.0128, allocations: 192 / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.763e-05/0.01286, allocations: 53.56 kB / 330.1 MB, free: 2.781 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.01288, allocations: 8 kB / 330.1 MB, free: 2.773 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01288, allocations: 7.938 kB / 330.1 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.01289, allocations: 0 / 330.1 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.877e-05/0.01294, allocations: 11.98 kB / 330.2 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.01294, allocations: 0 / 330.2 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.527e-05/0.01297, allocations: 8 kB / 330.2 MB, free: 2.746 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.01297, allocations: 0 / 330.2 MB, free: 2.746 MB / 298.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 5.759e-05/0.01303, allocations: 108.7 kB / 330.3 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.01306, allocations: 7.984 kB / 330.3 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.01316, allocations: 70.02 kB / 330.3 MB, free: 2.547 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.01316, allocations: 0 / 330.3 MB, free: 2.547 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.01316, allocations: 4 kB / 330.3 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.01316, allocations: 0 / 330.3 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.01338, allocations: 202.8 kB / 330.5 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01338, allocations: 0 / 330.5 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.85e-05/0.01343, allocations: 15.92 kB / 330.6 MB, free: 2.305 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.01344, allocations: 7.938 kB / 330.6 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.01344, allocations: 0 / 330.6 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01345, allocations: 0 / 330.6 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01345, allocations: 0 / 330.6 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.671e-05/0.01354, allocations: 143.8 kB / 330.7 MB, free: 2.141 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.177e-05/0.01355, allocations: 11.95 kB / 330.7 MB, free: 2.129 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.01357, allocations: 11.94 kB / 330.7 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.288e-05/0.01362, allocations: 0 / 330.7 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/0.01364, allocations: 7.984 kB / 330.7 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.01365, allocations: 0 / 330.7 MB, free: 2.109 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.269e-05/0.01369, allocations: 35.66 kB / 330.8 MB, free: 2.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01369, allocations: 0 / 330.8 MB, free: 2.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002357/0.01393, allocations: 15.94 kB / 330.8 MB, free: 2.055 MB / 298.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.001686/0.01561, allocations: 0.4946 MB / 331.3 MB, free: 1.805 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.813e-05/0.01568, allocations: 28.83 kB / 331.3 MB, free: 1.773 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.01568, allocations: 0 / 331.3 MB, free: 1.773 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.007e-05/0.0157, allocations: 12.86 kB / 331.3 MB, free: 1.758 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.01591, allocations: 15.98 kB / 331.3 MB, free: 1.742 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000297/0.01621, allocations: 175.4 kB / 331.5 MB, free: 1.539 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.748e-05/0.01624, allocations: 59.34 kB / 331.6 MB, free: 1.461 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.003055/0.0193, allocations: 15.97 kB / 331.6 MB, free: 1.445 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.031e-05/0.01936, allocations: 59.38 kB / 331.6 MB, free: 1.387 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01936, allocations: 0 / 331.6 MB, free: 1.387 MB / 298.7 MB Notification: Performance of Templates: time 0.003104/0.02246, allocations: 1.236 MB / 332.9 MB, free: 164 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.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: 2.846659417729825]