Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.001428/0.001428, allocations: 89.53 kB / 20.69 MB, free: 1.02 MB / 14.72 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.001439/0.001439, allocations: 161.5 kB / 23.95 MB, free: 4.152 MB / 14.72 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.48/1.48, allocations: 177 MB / 204.1 MB, free: 9.172 MB / 190.1 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.2357/0.2357, allocations: 34.26 MB / 294.8 MB, free: 14.54 MB / 286.1 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.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 442.7 MB, free: 5.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.729e-05, allocations: 4.672 kB / 442.7 MB, free: 5.23 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003328/0.003356, allocations: 1.801 MB / 444.5 MB, free: 3.414 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002128/0.005484, allocations: 1.048 MB / 445.6 MB, free: 2.359 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.005586, allocations: 3.938 kB / 445.6 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005928/0.006178, allocations: 311.1 kB / 445.9 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005472/0.006726, allocations: 255.1 kB / 446.1 MB, free: 1.801 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.006993, allocations: 111.5 kB / 446.2 MB, free: 1.691 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000382/0.007375, allocations: 275.2 kB / 446.5 MB, free: 1.422 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.992e-05/0.007435, allocations: 9.75 kB / 446.5 MB, free: 1.414 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002473/0.007683, allocations: 147.7 kB / 446.7 MB, free: 1.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/0.007973, allocations: 211.6 kB / 446.9 MB, free: 1.062 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.367e-05/0.008006, allocations: 8 kB / 446.9 MB, free: 1.055 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.008131, allocations: 47.92 kB / 446.9 MB, free: 1.008 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.008304, allocations: 139.5 kB / 447.1 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.008416, allocations: 71.67 kB / 447.1 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000455/0.008871, allocations: 362.7 kB / 447.5 MB, free: 456 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.008875, allocations: 0 / 447.5 MB, free: 456 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.008877, allocations: 0 / 447.5 MB, free: 456 kB / 366.1 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.008889, allocations: 0 / 447.5 MB, free: 456 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.2152/0.224, allocations: 0.6685 MB / 448.2 MB, free: 19.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.2241, allocations: 12.22 kB / 448.2 MB, free: 19.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.874e-05/0.2242, allocations: 58.14 kB / 448.2 MB, free: 19.36 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006884/0.2249, allocations: 395.7 kB / 448.6 MB, free: 19.15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.2249, allocations: 2.75 kB / 448.6 MB, free: 19.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.2249, allocations: 3.703 kB / 448.6 MB, free: 19.15 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.2252, allocations: 90.8 kB / 448.7 MB, free: 19.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.2252, allocations: 3.875 kB / 448.7 MB, free: 19.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.2252, allocations: 2.812 kB / 448.7 MB, free: 19.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.2252, allocations: 1.125 kB / 448.7 MB, free: 19.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.2253, allocations: 37.94 kB / 448.8 MB, free: 19.1 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.2257, allocations: 304.8 kB / 449 MB, free: 18.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.226, allocations: 106.7 kB / 449.2 MB, free: 18.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.392e-05/0.2261, allocations: 46.69 kB / 449.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.2261, allocations: 1.188 kB / 449.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002151/0.2263, allocations: 113.1 kB / 449.3 MB, free: 18.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.2263, allocations: 0 / 449.3 MB, free: 18.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005324/0.2268, allocations: 206.8 kB / 449.5 MB, free: 18.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.2269, allocations: 83.94 kB / 449.6 MB, free: 18.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.228, allocations: 1.065 MB / 450.7 MB, free: 18.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.228, allocations: 30.39 kB / 450.7 MB, free: 18.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.2281, allocations: 238.7 kB / 450.9 MB, free: 18.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.2282, allocations: 35.69 kB / 451 MB, free: 18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.435e-05/0.2282, allocations: 23.98 kB / 451 MB, free: 17.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.988e-05/0.2283, allocations: 372.7 kB / 451.3 MB, free: 17.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.145e-05/0.2284, allocations: 30.28 kB / 451.4 MB, free: 17.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.918e-05/0.2285, allocations: 65.25 kB / 451.4 MB, free: 17.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.2287, allocations: 96.77 kB / 451.5 MB, free: 17.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.2287, allocations: 1.375 kB / 451.5 MB, free: 17.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003142/0.229, allocations: 173 kB / 451.7 MB, free: 17.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.229, allocations: 5.438 kB / 451.7 MB, free: 17.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2291, allocations: 3.062 kB / 451.7 MB, free: 17.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.2291, allocations: 2.547 kB / 451.7 MB, free: 17.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.2292, allocations: 26.89 kB / 451.7 MB, free: 17.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.2292, allocations: 6.062 kB / 451.7 MB, free: 17.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.2293, allocations: 10.11 kB / 451.8 MB, free: 17.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.2293, allocations: 8.062 kB / 451.8 MB, free: 17.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002845/0.2296, allocations: 225 kB / 452 MB, free: 17.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-05/0.2297, allocations: 51.11 kB / 452 MB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004911/0.2302, allocations: 209.3 kB / 452.2 MB, free: 17.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.2302, allocations: 5.016 kB / 452.2 MB, free: 17.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.2302, allocations: 2.766 kB / 452.2 MB, free: 17.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.2302, allocations: 5.203 kB / 452.2 MB, free: 17.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003361/0.2305, allocations: 279.8 kB / 452.5 MB, free: 17.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2305, allocations: 2.078 kB / 452.5 MB, free: 17.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.801e-05/0.2306, allocations: 13.69 kB / 452.5 MB, free: 17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.2306, allocations: 1.375 kB / 452.5 MB, free: 17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.2306, allocations: 3.547 kB / 452.5 MB, free: 17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.2306, allocations: 0.7969 kB / 452.5 MB, free: 17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2306, allocations: 1.375 kB / 452.5 MB, free: 17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.231, allocations: 221.6 kB / 452.8 MB, free: 16.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.534e-05/0.2311, allocations: 63.16 kB / 452.8 MB, free: 16.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.972e-05/0.2311, allocations: 7.469 kB / 452.8 MB, free: 16.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.748e-05/0.2312, allocations: 8.766 kB / 452.8 MB, free: 16.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.087e-05/0.2312, allocations: 8.344 kB / 452.8 MB, free: 16.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.2313, allocations: 14.69 kB / 452.9 MB, free: 16.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008133/0.2321, allocations: 0.7928 MB / 453.7 MB, free: 16.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2321, allocations: 1.375 kB / 453.7 MB, free: 16.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002839/0.2324, allocations: 46.73 kB / 453.7 MB, free: 16.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001672/0.234, allocations: 440.1 kB / 454.1 MB, free: 16.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002864/0.2343, allocations: 91.67 kB / 454.2 MB, free: 16.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2343, allocations: 1.375 kB / 454.2 MB, free: 16.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.2344, allocations: 42.44 kB / 454.3 MB, free: 16.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004613/0.2349, allocations: 70.2 kB / 454.3 MB, free: 16.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.2361, allocations: 0.8942 MB / 455.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.2363, allocations: 250.7 kB / 455.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.2365, allocations: 56.59 kB / 455.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.423e-05/0.2365, allocations: 33.16 kB / 455.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2365, allocations: 3.938 kB / 455.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of Templates: time 0.01073/0.2473, allocations: 4.024 MB / 459.6 MB, free: 15.21 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.036168981343508]