Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.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.000999/0.000999, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.000941/0.000941, allocations: 160.5 kB / 24.55 MB, free: 20 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.9147/0.9147, allocations: 177 MB / 204.8 MB, free: 5.574 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.2607/0.2607, allocations: 34.86 MB / 296.3 MB, free: 0.543 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.326e-05/3.535e-05, allocations: 2.312 kB / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.002568/0.002603, allocations: 1.698 MB / 380.5 MB, free: 368 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007238/0.003327, allocations: 0.8024 MB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.959e-05/0.003377, allocations: 4 kB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003338/0.003711, allocations: 31.77 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.003977, allocations: 35.78 kB / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.887e-06/0.003981, allocations: 0 / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.004151, allocations: 39.89 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.542e-05/0.004187, allocations: 4 kB / 381.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.592e-05/0.004273, allocations: 15.86 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.642e-05/0.004299, allocations: 15.97 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.004309, allocations: 0 / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.71e-05/0.004357, allocations: 15.94 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.716e-05/0.004404, allocations: 15.98 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.25e-05/0.004426, allocations: 7.938 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.004566, allocations: 55.7 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.00457, allocations: 0 / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.004571, allocations: 4 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.004576, allocations: 4 kB / 381.5 MB, free: 15.31 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003477/0.004924, allocations: 388.4 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.004967, allocations: 12.03 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.479e-05/0.005011, allocations: 12.89 kB / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.005149, allocations: 120.5 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.00516, allocations: 384 / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.005169, allocations: 4.359 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.005317, allocations: 116.3 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.005327, allocations: 8.172 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.005336, allocations: 4.375 kB / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.744e-05/0.005384, allocations: 24.36 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.676e-05/0.005421, allocations: 31.8 kB / 382.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005392/0.00596, allocations: 1.204 MB / 383.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.965e-05/0.006059, allocations: 269.5 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.21e-05/0.006102, allocations: 126.9 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.006135, allocations: 119.2 kB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.467e-05/0.00619, allocations: 160.6 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.603e-06/0.006192, allocations: 0 / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 7.399e-05/0.006266, allocations: 41.53 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/0.006333, allocations: 178.6 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.006505, allocations: 250.3 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.006514, allocations: 25.7 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.708e-05/0.006611, allocations: 202.2 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.482e-06/0.006618, allocations: 3.984 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/0.006667, allocations: 51.33 kB / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.00679, allocations: 0.4962 MB / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.409e-05/0.006814, allocations: 11.98 kB / 385.3 MB, free: 11.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.285e-05/0.006906, allocations: 196.8 kB / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.007044, allocations: 229.5 kB / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.007048, allocations: 4 kB / 385.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001997/0.007247, allocations: 165.2 kB / 385.9 MB, free: 10.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.007264, allocations: 8 kB / 385.9 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.007271, allocations: 4 kB / 385.9 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.007289, allocations: 7.938 kB / 385.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.636e-05/0.007386, allocations: 43.92 kB / 386 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.007395, allocations: 12.48 kB / 386 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.615e-05/0.007451, allocations: 19.84 kB / 386 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.007464, allocations: 20 kB / 386 MB, free: 10.37 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 9.86e-05/0.007563, allocations: 287.6 kB / 386.3 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.129e-05/0.007614, allocations: 152.8 kB / 386.5 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.537e-05/0.007669, allocations: 160.7 kB / 386.6 MB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.361e-05/0.007733, allocations: 272 kB / 386.9 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-05/0.007794, allocations: 268.2 kB / 387.1 MB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.916e-05/0.007853, allocations: 272 kB / 387.4 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.008034, allocations: 0.5116 MB / 387.9 MB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.249e-05/0.008067, allocations: 144.9 kB / 388.1 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.203e-05/0.008099, allocations: 156.8 kB / 388.2 MB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.308e-05/0.008162, allocations: 268.1 kB / 388.5 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.426e-05/0.008226, allocations: 272 kB / 388.7 MB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.824e-05/0.008294, allocations: 268.1 kB / 389 MB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.395e-05/0.008358, allocations: 268 kB / 389.3 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.008487, allocations: 455.9 kB / 389.7 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.335e-05/0.00853, allocations: 160.8 kB / 389.9 MB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.565e-05/0.008596, allocations: 264.1 kB / 390.1 MB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.509e-05/0.008651, allocations: 148.9 kB / 390.3 MB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.711e-05/0.008718, allocations: 276 kB / 390.5 MB, free: 5.668 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/0.00875, allocations: 148.8 kB / 390.7 MB, free: 5.516 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.42e-05/0.008824, allocations: 167.3 kB / 390.9 MB, free: 5.352 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008824, allocations: 0 / 390.9 MB, free: 5.352 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001806/0.009005, allocations: 12 kB / 390.9 MB, free: 5.34 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 (0): * Single equations (assignments): 0 * 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.0004894/0.009494, allocations: 312.5 kB / 391.2 MB, free: 5.062 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001324/0.009627, allocations: 72.53 kB / 391.2 MB, free: 4.988 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.009629, allocations: 0 / 391.2 MB, free: 4.988 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.933e-06/0.009631, allocations: 4 kB / 391.2 MB, free: 4.984 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.009929, allocations: 0.7141 MB / 392 MB, free: 4.266 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002972/0.01023, allocations: 277.3 kB / 392.2 MB, free: 3.965 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.42e-05/0.01027, allocations: 67.84 kB / 392.3 MB, free: 3.879 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.04e-05/0.01036, allocations: 45.08 kB / 392.3 MB, free: 3.836 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.692e-05/0.01039, allocations: 16.5 kB / 392.4 MB, free: 3.82 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01039, allocations: 0 / 392.4 MB, free: 3.82 MB / 362.7 MB Notification: Performance of Templates: time 0.002574/0.01296, allocations: 0.7605 MB / 393.1 MB, free: 3.07 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.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.014088103082031]