Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.0009404/0.0009404, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009576/0.0009576, allocations: 160.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.9707/0.9707, allocations: 177 MB / 204.8 MB, free: 5.586 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.2655/0.2655, allocations: 34.86 MB / 296.3 MB, free: 0.5273 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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.358e-05, allocations: 7.016 kB / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002372/0.002395, allocations: 1.691 MB / 380.5 MB, free: 364 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007533/0.003149, allocations: 0.5524 MB / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.726e-05/0.003206, allocations: 0 / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004591/0.003665, allocations: 459.1 kB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004093/0.004074, allocations: 295.2 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.004348, allocations: 127.5 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.004555, allocations: 171.6 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.36e-05/0.004649, allocations: 19.83 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.004766, allocations: 111.8 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.004948, allocations: 243.6 kB / 382.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.004963, allocations: 4 kB / 382.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.878e-05/0.005042, allocations: 35.86 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.178e-05/0.005134, allocations: 83.72 kB / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.091e-05/0.005175, allocations: 47.72 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004676/0.005642, allocations: 187.2 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.005646, allocations: 0 / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005647, allocations: 0 / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.005657, allocations: 4 kB / 382.8 MB, free: 14.05 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007754/0.006432, allocations: 0.6931 MB / 383.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.006479, allocations: 12.03 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.467e-05/0.006574, allocations: 48.66 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.00683, allocations: 240.9 kB / 383.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.006843, allocations: 4.375 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.006864, allocations: 4.375 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.007009, allocations: 62.94 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.007021, allocations: 192 / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.007031, allocations: 384 / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.007041, allocations: 4.359 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.271e-05/0.007083, allocations: 15.88 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005042/0.007588, allocations: 427.6 kB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.007755, allocations: 43.05 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.336e-05/0.007779, allocations: 15.67 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.007797, allocations: 4 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.007817, allocations: 45.27 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.007818, allocations: 0 / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003728/0.008191, allocations: 184.9 kB / 384.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.008221, allocations: 51.41 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000402/0.008623, allocations: 0.6316 MB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.008635, allocations: 25.7 kB / 385.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.008771, allocations: 286.8 kB / 385.6 MB, free: 11.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.00879, allocations: 11.84 kB / 385.6 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.008821, allocations: 27.36 kB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.008958, allocations: 0.547 MB / 386.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.708e-05/0.008975, allocations: 8 kB / 386.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.583e-05/0.008991, allocations: 11.98 kB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.634e-05/0.009027, allocations: 23.69 kB / 386.2 MB, free: 10.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.009028, allocations: 0 / 386.2 MB, free: 10.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.696e-05/0.009125, allocations: 97.28 kB / 386.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.009138, allocations: 11.94 kB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.009142, allocations: 256 / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.009153, allocations: 0 / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.953e-05/0.009202, allocations: 15.98 kB / 386.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.009206, allocations: 0 / 386.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.866e-05/0.009235, allocations: 4 kB / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.009241, allocations: 8 kB / 386.3 MB, free: 10.3 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 7.012e-05/0.009311, allocations: 156.6 kB / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.009345, allocations: 47.66 kB / 386.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.009481, allocations: 101.1 kB / 386.6 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.009482, allocations: 0 / 386.6 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.009486, allocations: 0 / 386.6 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.009488, allocations: 0 / 386.6 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000314/0.009802, allocations: 469.4 kB / 387.1 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.009804, allocations: 0 / 387.1 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.247e-05/0.009836, allocations: 12 kB / 387.1 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.009839, allocations: 0 / 387.1 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.009845, allocations: 0 / 387.1 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.009847, allocations: 3.938 kB / 387.1 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.009848, allocations: 4 kB / 387.1 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.009973, allocations: 251.6 kB / 387.3 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.14e-05/0.009994, allocations: 31.72 kB / 387.4 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.01001, allocations: 0 / 387.4 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.853e-05/0.01005, allocations: 8 kB / 387.4 MB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.01008, allocations: 3.984 kB / 387.4 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.01008, allocations: 4.188 kB / 387.4 MB, free: 9.145 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002408/0.01032, allocations: 426.8 kB / 387.8 MB, free: 8.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01032, allocations: 0 / 387.8 MB, free: 8.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001834/0.0105, allocations: 27.92 kB / 387.8 MB, free: 8.703 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.0007685/0.01127, allocations: 383.3 kB / 388.2 MB, free: 8.438 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.69e-05/0.01137, allocations: 31.56 kB / 388.2 MB, free: 8.402 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01137, allocations: 0 / 388.2 MB, free: 8.402 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.183e-05/0.01139, allocations: 27.67 kB / 388.3 MB, free: 8.371 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.01162, allocations: 25.89 kB / 388.3 MB, free: 8.344 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005874/0.01221, allocations: 0.5705 MB / 388.9 MB, free: 7.742 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.256e-05/0.01228, allocations: 119.2 kB / 389 MB, free: 7.605 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.98e-05/0.01231, allocations: 15.98 kB / 389 MB, free: 7.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.01235, allocations: 16.48 kB / 389 MB, free: 7.574 MB / 362.7 MB Notification: Performance of SimCode: time 1.021e-06/0.01235, allocations: 0 / 389 MB, free: 7.574 MB / 362.7 MB Notification: Performance of Templates: time 0.003935/0.01628, allocations: 1.445 MB / 390.4 MB, free: 6.145 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.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.042784126009792]