Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.00178/0.00178, allocations: 89.14 kB / 20.68 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.00217/0.00217, allocations: 158.8 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.576/1.576, allocations: 177 MB / 204.1 MB, free: 9.148 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.2279/0.2279, allocations: 34.27 MB / 294.8 MB, free: 14.51 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 442.7 MB, free: 5.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.645e-05, allocations: 6.219 kB / 442.7 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.00303/0.003056, allocations: 1.673 MB / 444.4 MB, free: 3.508 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.004876, allocations: 0.9542 MB / 445.4 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.59e-05/0.004952, allocations: 3.938 kB / 445.4 MB, free: 2.543 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003328/0.005284, allocations: 67.66 kB / 445.4 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003491/0.005633, allocations: 107.5 kB / 445.5 MB, free: 2.371 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.005826, allocations: 79.55 kB / 445.6 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002064/0.006032, allocations: 111.6 kB / 445.7 MB, free: 2.184 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.121e-05/0.006074, allocations: 240 / 445.7 MB, free: 2.184 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.006203, allocations: 59.83 kB / 445.8 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.006314, allocations: 47.81 kB / 445.8 MB, free: 2.078 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.006336, allocations: 8 kB / 445.8 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.205e-05/0.006428, allocations: 27.98 kB / 445.9 MB, free: 2.043 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.526e-05/0.006503, allocations: 23.92 kB / 445.9 MB, free: 2.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.269e-05/0.006556, allocations: 19.92 kB / 445.9 MB, free: 2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.006788, allocations: 103.6 kB / 446 MB, free: 1.898 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.006792, allocations: 0 / 446 MB, free: 1.898 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.006793, allocations: 0 / 446 MB, free: 1.898 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.006806, allocations: 4 kB / 446 MB, free: 1.895 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006042/0.00741, allocations: 337.5 kB / 446.4 MB, free: 1.535 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.007448, allocations: 8.031 kB / 446.4 MB, free: 1.527 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.102e-05/0.007499, allocations: 20.83 kB / 446.4 MB, free: 1.508 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.007764, allocations: 147 kB / 446.5 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.007778, allocations: 384 / 446.5 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.007794, allocations: 4.375 kB / 446.5 MB, free: 1.336 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.007948, allocations: 46.23 kB / 446.6 MB, free: 1.285 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.007956, allocations: 192 / 446.6 MB, free: 1.285 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.007966, allocations: 384 / 446.6 MB, free: 1.285 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.007975, allocations: 7.938 kB / 446.6 MB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.317e-05/0.008048, allocations: 19.92 kB / 446.6 MB, free: 1.258 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.00823, allocations: 125.3 kB / 446.7 MB, free: 1.105 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.008422, allocations: 58.56 kB / 446.8 MB, free: 1.039 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.886e-05/0.008481, allocations: 16.84 kB / 446.8 MB, free: 1.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.008498, allocations: 4 kB / 446.8 MB, free: 1.016 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.008651, allocations: 67.39 kB / 446.9 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.008653, allocations: 0 / 446.9 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003247/0.008977, allocations: 105.5 kB / 447 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.009026, allocations: 63.34 kB / 447 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.009295, allocations: 194.3 kB / 447.2 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.00932, allocations: 33.7 kB / 447.3 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.35e-05/0.009393, allocations: 104.1 kB / 447.4 MB, free: 420 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.695e-05/0.00944, allocations: 15.91 kB / 447.4 MB, free: 404 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-05/0.00949, allocations: 21.7 kB / 447.4 MB, free: 376 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.009659, allocations: 322.8 kB / 447.7 MB, free: 44 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.526e-05/0.009714, allocations: 12 kB / 447.7 MB, free: 32 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2066/0.2163, allocations: 33.69 kB / 447.8 MB, free: 19.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/0.2165, allocations: 46.44 kB / 447.8 MB, free: 19.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.2165, allocations: 0 / 447.8 MB, free: 19.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002034/0.2167, allocations: 82.95 kB / 447.9 MB, free: 19.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2167, allocations: 4.875 kB / 447.9 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2167, allocations: 1.875 kB / 447.9 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.2167, allocations: 2.625 kB / 447.9 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.037e-05/0.2168, allocations: 18.59 kB / 447.9 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2168, allocations: 1.125 kB / 447.9 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.781e-05/0.2169, allocations: 7.016 kB / 447.9 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.2169, allocations: 2.375 kB / 447.9 MB, free: 19.05 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.432e-05/0.217, allocations: 133.1 kB / 448 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.217, allocations: 12.77 kB / 448.1 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.2172, allocations: 92.33 kB / 448.1 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.2172, allocations: 0 / 448.1 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2172, allocations: 1.062 kB / 448.1 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2172, allocations: 4.594 kB / 448.2 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.984e-05/0.2173, allocations: 137.4 kB / 448.3 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.2173, allocations: 1.875 kB / 448.3 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.695e-05/0.2174, allocations: 5.125 kB / 448.3 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2174, allocations: 1.469 kB / 448.3 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.2174, allocations: 3.766 kB / 448.3 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2174, allocations: 2.062 kB / 448.3 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2174, allocations: 0 / 448.3 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.2176, allocations: 120.9 kB / 448.4 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.166e-05/0.2176, allocations: 8.812 kB / 448.4 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.2176, allocations: 6.688 kB / 448.4 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.969e-05/0.2176, allocations: 6.516 kB / 448.4 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.2177, allocations: 4.609 kB / 448.4 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.2177, allocations: 2.125 kB / 448.4 MB, free: 18.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.2178, allocations: 149.9 kB / 448.6 MB, free: 18.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2178, allocations: 0 / 448.6 MB, free: 18.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002219/0.218, allocations: 21.55 kB / 448.6 MB, free: 18.64 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001525/0.2195, allocations: 430.6 kB / 449 MB, free: 18.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001598/0.2197, allocations: 44.62 kB / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2197, allocations: 0 / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.231e-05/0.2198, allocations: 23.94 kB / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.22, allocations: 35.33 kB / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/0.2204, allocations: 209.5 kB / 449.3 MB, free: 18.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.371e-05/0.2205, allocations: 98.67 kB / 449.4 MB, free: 18.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.317e-05/0.2205, allocations: 15.52 kB / 449.5 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/0.2206, allocations: 15.45 kB / 449.5 MB, free: 18.25 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2206, allocations: 0 / 449.5 MB, free: 18.25 MB / 366.1 MB Notification: Performance of Templates: time 0.004715/0.2253, allocations: 1.624 MB / 451.1 MB, free: 18.05 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.134308934211731]