Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.0009868/0.0009868, 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.001254/0.001254, 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.9861/0.9861, allocations: 177 MB / 204.8 MB, free: 5.59 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.298/0.298, allocations: 34.87 MB / 296.3 MB, free: 0.5664 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.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 378.8 MB, free: 2.023 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.948e-05/3.161e-05, allocations: 3.578 kB / 378.8 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003016/0.003048, allocations: 1.85 MB / 380.7 MB, free: 160 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.004567, allocations: 1.087 MB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.00467, allocations: 8 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004958/0.005166, allocations: 311.1 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004937/0.00566, allocations: 263 kB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.005957, allocations: 107.6 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003347/0.006292, allocations: 267.2 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.131e-05/0.006343, allocations: 13.8 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.006525, allocations: 155.6 kB / 382.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.006735, allocations: 199.6 kB / 383.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.006759, allocations: 8 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.00687, allocations: 43.92 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.007042, allocations: 151.5 kB / 383.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.007161, allocations: 67.67 kB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004/0.007561, allocations: 290.9 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.007566, allocations: 0 / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.007567, allocations: 0 / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.007575, allocations: 0 / 383.6 MB, free: 13.21 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008418/0.008417, allocations: 0.7941 MB / 384.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.008454, allocations: 8.031 kB / 384.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.195e-05/0.008536, allocations: 56.56 kB / 384.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/0.008903, allocations: 340.6 kB / 384.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.008926, allocations: 384 / 384.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.008943, allocations: 8.375 kB / 384.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.009122, allocations: 90.3 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.009134, allocations: 4.172 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.009145, allocations: 384 / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.009155, allocations: 3.938 kB / 384.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.964e-05/0.009205, allocations: 23.92 kB / 384.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.009525, allocations: 316.2 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.009697, allocations: 94.22 kB / 385.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.787e-05/0.009745, allocations: 35.36 kB / 385.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.009766, allocations: 3.938 kB / 385.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001551/0.009921, allocations: 108.4 kB / 385.5 MB, free: 11.17 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.009922, allocations: 0 / 385.5 MB, free: 11.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002978/0.01022, allocations: 181.2 kB / 385.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.01026, allocations: 81.05 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000521/0.01078, allocations: 0.7175 MB / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.0108, allocations: 25.7 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.01095, allocations: 310.8 kB / 386.8 MB, free: 9.812 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.144e-05/0.011, allocations: 35.72 kB / 386.8 MB, free: 9.777 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/0.01104, allocations: 35.31 kB / 386.9 MB, free: 9.734 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.01124, allocations: 0.5665 MB / 387.4 MB, free: 9.156 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.44e-05/0.01127, allocations: 11.98 kB / 387.4 MB, free: 9.145 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.695e-05/0.01132, allocations: 54.73 kB / 387.5 MB, free: 9.074 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.074e-05/0.0114, allocations: 75.19 kB / 387.6 MB, free: 8.984 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.0114, allocations: 4 kB / 387.6 MB, free: 8.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001828/0.01159, allocations: 153.3 kB / 387.7 MB, free: 8.824 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.01161, allocations: 4 kB / 387.7 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.01161, allocations: 4 kB / 387.7 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.01163, allocations: 0 / 387.7 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.01174, allocations: 27.86 kB / 387.7 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.01175, allocations: 4 kB / 387.8 MB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.997e-05/0.01181, allocations: 15.94 kB / 387.8 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.01182, allocations: 4 kB / 387.8 MB, free: 8.766 MB / 362.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 0.0001034/0.01192, allocations: 166.1 kB / 387.9 MB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.124e-05/0.01197, allocations: 55.67 kB / 388 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.01219, allocations: 165.9 kB / 388.2 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.01219, allocations: 3.984 kB / 388.2 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.0122, allocations: 3.938 kB / 388.2 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.0122, allocations: 4 kB / 388.2 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.01243, allocations: 320.4 kB / 388.5 MB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01243, allocations: 0 / 388.5 MB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.171e-05/0.01246, allocations: 15.92 kB / 388.5 MB, free: 7.996 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.01247, allocations: 4 kB / 388.5 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.01248, allocations: 11.94 kB / 388.5 MB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.01248, allocations: 0 / 388.5 MB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.01248, allocations: 0 / 388.5 MB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.01267, allocations: 211.9 kB / 388.7 MB, free: 7.746 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-05/0.01273, allocations: 63.66 kB / 388.8 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.01276, allocations: 12 kB / 388.8 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.899e-05/0.0128, allocations: 3.984 kB / 388.8 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.01284, allocations: 15.92 kB / 388.8 MB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.01286, allocations: 8 kB / 388.8 MB, free: 7.645 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003277/0.01318, allocations: 486.7 kB / 389.3 MB, free: 7.172 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.01318, allocations: 7.938 kB / 389.3 MB, free: 7.164 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001879/0.01337, allocations: 44 kB / 389.3 MB, free: 7.121 MB / 362.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.0008315/0.0142, allocations: 384.1 kB / 389.7 MB, free: 6.855 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001429/0.01435, allocations: 71.09 kB / 389.8 MB, free: 6.785 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01435, allocations: 0 / 389.8 MB, free: 6.785 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.06e-05/0.0144, allocations: 47.59 kB / 389.8 MB, free: 6.734 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.01468, allocations: 71.66 kB / 389.9 MB, free: 6.664 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007238/0.0154, allocations: 0.6715 MB / 390.6 MB, free: 5.957 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.492e-05/0.01548, allocations: 128.2 kB / 390.7 MB, free: 5.812 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.369e-05/0.01555, allocations: 38.97 kB / 390.7 MB, free: 5.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.291e-05/0.01561, allocations: 36.48 kB / 390.8 MB, free: 5.734 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01561, allocations: 0 / 390.8 MB, free: 5.734 MB / 362.7 MB Notification: Performance of Templates: time 0.006583/0.02219, allocations: 4.067 MB / 394.8 MB, free: 1.703 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.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.502979240845889]