Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.001733/0.001733, allocations: 85.91 kB / 22.21 MB, free: 2.281 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.001486/0.001486, allocations: 156.9 kB / 25.61 MB, free: 8.879 MB / 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 1.057/1.057, allocations: 177 MB / 205.9 MB, free: 4.449 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.152/0.152, allocations: 34.87 MB / 297.4 MB, free: 13.33 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.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.944e-05/3.111e-05, allocations: 3 kB / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.006291/0.006322, allocations: 1.843 MB / 381.9 MB, free: 20.82 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.008117, allocations: 1.073 MB / 383 MB, free: 19.74 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.008223, allocations: 4 kB / 383 MB, free: 19.74 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004615/0.008684, allocations: 295.2 kB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004346/0.009119, allocations: 259 kB / 383.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.009346, allocations: 111.6 kB / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002726/0.009619, allocations: 267.2 kB / 383.9 MB, free: 18.82 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.03e-05/0.009669, allocations: 9.812 kB / 383.9 MB, free: 18.82 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.009829, allocations: 151.6 kB / 384.1 MB, free: 18.67 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000203/0.01003, allocations: 208.1 kB / 384.3 MB, free: 18.46 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.01006, allocations: 4 kB / 384.3 MB, free: 18.46 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.49e-05/0.01015, allocations: 43.98 kB / 384.3 MB, free: 18.42 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.01026, allocations: 140.5 kB / 384.5 MB, free: 18.28 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.225e-05/0.01033, allocations: 79.64 kB / 384.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.0106, allocations: 270.8 kB / 384.8 MB, free: 17.94 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.0106, allocations: 0 / 384.8 MB, free: 17.94 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.0106, allocations: 0 / 384.8 MB, free: 17.94 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.0106, allocations: 4 kB / 384.8 MB, free: 17.93 MB / 314.7 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.0006582/0.01126, allocations: 0.7785 MB / 385.6 MB, free: 17.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.0113, allocations: 12.03 kB / 385.6 MB, free: 17.11 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.161e-05/0.01137, allocations: 56.61 kB / 385.6 MB, free: 17.05 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.01165, allocations: 312.6 kB / 386 MB, free: 16.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.01167, allocations: 384 / 386 MB, free: 16.71 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.01168, allocations: 8.375 kB / 386 MB, free: 16.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.01182, allocations: 90.27 kB / 386 MB, free: 16.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.01183, allocations: 192 / 386 MB, free: 16.6 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.01184, allocations: 4.375 kB / 386.1 MB, free: 16.6 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.01185, allocations: 7.938 kB / 386.1 MB, free: 16.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.883e-05/0.01189, allocations: 15.92 kB / 386.1 MB, free: 16.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002183/0.01211, allocations: 224.8 kB / 386.3 MB, free: 16.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.01224, allocations: 86.22 kB / 386.4 MB, free: 16.21 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.722e-05/0.01228, allocations: 35.34 kB / 386.4 MB, free: 16.17 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.01229, allocations: 11.88 kB / 386.4 MB, free: 16.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001183/0.01241, allocations: 100.4 kB / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.01241, allocations: 0 / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002683/0.01268, allocations: 165.3 kB / 386.7 MB, free: 15.87 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.01271, allocations: 85.09 kB / 386.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000536/0.01324, allocations: 0.6742 MB / 387.4 MB, free: 15.08 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.01326, allocations: 29.7 kB / 387.5 MB, free: 15.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.01342, allocations: 310.7 kB / 387.8 MB, free: 14.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/0.01346, allocations: 31.77 kB / 387.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.662e-05/0.01351, allocations: 39.3 kB / 387.8 MB, free: 14.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.01364, allocations: 0.5625 MB / 388.4 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.96e-05/0.01367, allocations: 19.98 kB / 388.4 MB, free: 14.06 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.363e-05/0.01371, allocations: 49.98 kB / 388.5 MB, free: 14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.12e-05/0.01379, allocations: 83.16 kB / 388.6 MB, free: 13.9 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01379, allocations: 0 / 388.6 MB, free: 13.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001734/0.01397, allocations: 141.3 kB / 388.7 MB, free: 13.76 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.01398, allocations: 4 kB / 388.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.01398, allocations: 4 kB / 388.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.01399, allocations: 0 / 388.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.778e-05/0.01408, allocations: 23.92 kB / 388.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.01409, allocations: 7.938 kB / 388.7 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.579e-05/0.01416, allocations: 19.95 kB / 388.8 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.01417, allocations: 4 kB / 388.8 MB, free: 13.7 MB / 314.7 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 8.317e-05/0.01426, allocations: 170 kB / 388.9 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/0.01431, allocations: 51.67 kB / 389 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002007/0.01451, allocations: 161.8 kB / 389.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.01451, allocations: 0 / 389.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.01451, allocations: 0 / 389.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.01452, allocations: 3.938 kB / 389.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.0147, allocations: 229.1 kB / 389.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.01471, allocations: 4 kB / 389.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.837e-05/0.01475, allocations: 11.94 kB / 389.4 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.01475, allocations: 4 kB / 389.4 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.01476, allocations: 4.234 kB / 389.4 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.01476, allocations: 0 / 389.4 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.01476, allocations: 8 kB / 389.4 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.01495, allocations: 203.6 kB / 389.6 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.237e-05/0.01501, allocations: 59.56 kB / 389.6 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/0.01505, allocations: 11.98 kB / 389.7 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.08e-05/0.01511, allocations: 4 kB / 389.7 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.01515, allocations: 15.98 kB / 389.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.01516, allocations: 4 kB / 389.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002956/0.01546, allocations: 430.6 kB / 390.1 MB, free: 12.28 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01546, allocations: 3.938 kB / 390.1 MB, free: 12.28 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002829/0.01574, allocations: 47.94 kB / 390.2 MB, free: 12.23 MB / 314.7 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.00103/0.01677, allocations: 374.9 kB / 390.5 MB, free: 12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001405/0.01691, allocations: 63.53 kB / 390.6 MB, free: 11.94 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01691, allocations: 0 / 390.6 MB, free: 11.94 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.198e-05/0.01697, allocations: 47.53 kB / 390.6 MB, free: 11.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.01733, allocations: 71.2 kB / 390.7 MB, free: 11.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007633/0.0181, allocations: 0.6461 MB / 391.3 MB, free: 11.14 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.446e-05/0.01819, allocations: 128.1 kB / 391.5 MB, free: 10.99 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.53e-05/0.01828, allocations: 46.94 kB / 391.5 MB, free: 10.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.01841, allocations: 118.2 kB / 391.6 MB, free: 10.83 MB / 314.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01841, allocations: 0 / 391.6 MB, free: 10.83 MB / 314.7 MB Notification: Performance of Templates: time 0.008794/0.02721, allocations: 4.381 MB / 396 MB, free: 6.5 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.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.830670378636569]