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.001032/0.001032, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001493/0.002524, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001351/0.001351, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001692/0.003044, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.018/1.018, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09689/1.115, allocations: 53.86 MB / 243.7 MB, free: 14.9 MB / 250.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.2569/0.2569, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03143/0.2883, allocations: 13.24 MB / 292.6 MB, free: 6.465 MB / 282.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.423e-06/1.423e-06, allocations: 0 / 293.9 MB, free: 5.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.228e-05, allocations: 6.312 kB / 293.9 MB, free: 5.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003022/0.003044, allocations: 1.684 MB / 295.6 MB, free: 3.477 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009757/0.00402, allocations: 0.5407 MB / 296.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.44e-05/0.004094, allocations: 0 / 296.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.00425, allocations: 39.7 kB / 296.1 MB, free: 2.895 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.004477, allocations: 67.58 kB / 296.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.004739, allocations: 87.69 kB / 296.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002468/0.004986, allocations: 71.78 kB / 296.4 MB, free: 2.672 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.058e-05/0.005067, allocations: 8 kB / 296.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.908e-05/0.005156, allocations: 47.89 kB / 296.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.594e-05/0.005212, allocations: 15.92 kB / 296.4 MB, free: 2.602 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.005223, allocations: 0 / 296.4 MB, free: 2.602 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.266e-05/0.005306, allocations: 35.92 kB / 296.5 MB, free: 2.566 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.897e-05/0.005335, allocations: 11.94 kB / 296.5 MB, free: 2.555 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.198e-05/0.005357, allocations: 11.94 kB / 296.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.005508, allocations: 71.67 kB / 296.6 MB, free: 2.473 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.84e-05/0.005526, allocations: 0 / 296.6 MB, free: 2.473 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.005528, allocations: 0 / 296.6 MB, free: 2.473 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.005546, allocations: 4 kB / 296.6 MB, free: 2.469 MB / 282.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.0003232/0.005869, allocations: 285.4 kB / 296.9 MB, free: 2.164 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.683e-05/0.005896, allocations: 8.922 kB / 296.9 MB, free: 2.156 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.569e-05/0.005921, allocations: 8.922 kB / 296.9 MB, free: 2.148 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.006037, allocations: 140.1 kB / 297 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.006044, allocations: 8.312 kB / 297 MB, free: 1.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.006057, allocations: 384 / 297 MB, free: 1.98 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.737e-05/0.006134, allocations: 58.89 kB / 297.1 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.006142, allocations: 192 / 297.1 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.25e-06/0.006147, allocations: 384 / 297.1 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.006151, allocations: 4.375 kB / 297.1 MB, free: 1.91 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.245e-05/0.006173, allocations: 15.92 kB / 297.1 MB, free: 1.895 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.006334, allocations: 155.1 kB / 297.2 MB, free: 1.727 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.006449, allocations: 34.48 kB / 297.3 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.219e-05/0.006461, allocations: 8.859 kB / 297.3 MB, free: 1.672 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.006476, allocations: 4.062 kB / 297.3 MB, free: 1.668 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.006495, allocations: 34.56 kB / 297.3 MB, free: 1.625 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.006496, allocations: 0 / 297.3 MB, free: 1.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002176/0.006713, allocations: 81.58 kB / 297.4 MB, free: 1.539 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.006745, allocations: 51.41 kB / 297.5 MB, free: 1.477 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.612e-05/0.006821, allocations: 148.2 kB / 297.6 MB, free: 1.316 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.006832, allocations: 33.7 kB / 297.6 MB, free: 1.277 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.546e-05/0.006858, allocations: 92.11 kB / 297.7 MB, free: 1.184 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.006874, allocations: 11.86 kB / 297.7 MB, free: 1.172 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.391e-05/0.006898, allocations: 21.7 kB / 297.8 MB, free: 1.145 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.088e-05/0.006979, allocations: 322.8 kB / 298.1 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.678e-06/0.006989, allocations: 4 kB / 298.1 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-06/0.006996, allocations: 0 / 298.1 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.39e-05/0.00702, allocations: 20.84 kB / 298.1 MB, free: 0.793 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.007021, allocations: 0 / 298.1 MB, free: 0.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.909e-05/0.00707, allocations: 57.61 kB / 298.2 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/0.007079, allocations: 4 kB / 298.2 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.007085, allocations: 3.938 kB / 298.2 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.214e-06/0.007092, allocations: 0 / 298.2 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.358e-05/0.007135, allocations: 12 kB / 298.2 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.007138, allocations: 0 / 298.2 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.528e-05/0.007153, allocations: 7.984 kB / 298.2 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-06/0.007157, allocations: 0 / 298.2 MB, free: 0.7031 MB / 282.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 4.871e-05/0.007205, allocations: 112.7 kB / 298.3 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/0.007219, allocations: 4 kB / 298.3 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.892e-05/0.007298, allocations: 74.2 kB / 298.4 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.007299, allocations: 0 / 298.4 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.007304, allocations: 8.062 kB / 298.4 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.007307, allocations: 0 / 298.4 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.007466, allocations: 210.8 kB / 298.6 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.007467, allocations: 0 / 298.6 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.761e-05/0.007494, allocations: 15.92 kB / 298.6 MB, free: 252 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.325e-06/0.007503, allocations: 11.89 kB / 298.6 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.007504, allocations: 0 / 298.6 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-06/0.007508, allocations: 288 / 298.6 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.007509, allocations: 0 / 298.6 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.007509, allocations: 4 kB / 298.6 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.518e-05/0.007575, allocations: 143.5 kB / 298.7 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.007586, allocations: 7.922 kB / 298.8 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.767e-05/0.007613, allocations: 3.984 kB / 298.8 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.962e-05/0.007633, allocations: 4 kB / 298.8 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.007636, allocations: 0 / 298.8 MB, free: 60 kB / 282.7 MB Notification: Performance of sorting global known variables: time 2.941e-05/0.007665, allocations: 41.53 kB / 298.8 MB, free: 16 kB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007665, allocations: 0 / 298.8 MB, free: 16 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001223/0.007787, allocations: 11.94 kB / 298.8 MB, free: 4 kB / 282.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.001245/0.009032, allocations: 0.5361 MB / 299.4 MB, free: 15.76 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.002e-05/0.009102, allocations: 16.86 kB / 299.4 MB, free: 15.74 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/0.009109, allocations: 7.984 kB / 299.4 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.906e-05/0.009128, allocations: 20.84 kB / 299.4 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/0.009291, allocations: 30.95 kB / 299.4 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003912/0.009682, allocations: 163.8 kB / 299.6 MB, free: 15.49 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.106e-05/0.009713, allocations: 59.34 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.831e-05/0.009741, allocations: 19.98 kB / 299.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/0.009785, allocations: 59.31 kB / 299.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.009785, allocations: 0 / 299.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of Templates: time 0.002552/0.01234, allocations: 1.26 MB / 301 MB, free: 14.08 MB / 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 -ignoreHideResult -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.8517997534945607]