Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.001513/0.001513, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001545/0.001545, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.501/1.501, allocations: 230.3 MB / 258 MB, free: 8.258 MB / 206.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.254/0.254, allocations: 46.89 MB / 361.3 MB, free: 4.551 MB / 286.1 MB " [Timeout remaining time 179] 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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002408/0.002408, allocations: 87.84 kB / 0.4971 GB, free: 7.562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3397, allocations: 66.03 MB / 0.5616 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003421/0.3431, allocations: 1.706 MB / 0.5633 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.3449, allocations: 1.027 MB / 0.5643 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.424e-05/0.345, allocations: 3.938 kB / 0.5643 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003198/0.3453, allocations: 47.81 kB / 0.5643 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003345/0.3456, allocations: 103.5 kB / 0.5644 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.3458, allocations: 79.72 kB / 0.5645 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.346, allocations: 99.64 kB / 0.5646 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.827e-05/0.346, allocations: 4.234 kB / 0.5646 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.3461, allocations: 43.78 kB / 0.5646 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.11e-05/0.3462, allocations: 31.78 kB / 0.5647 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.885e-05/0.3462, allocations: 4 kB / 0.5647 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.858e-05/0.3463, allocations: 35.98 kB / 0.5647 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.55e-05/0.3464, allocations: 31.8 kB / 0.5647 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.376e-05/0.3465, allocations: 43.67 kB / 0.5648 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.3467, allocations: 130 kB / 0.5649 GB, free: 1.215 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3467, allocations: 0 / 0.5649 GB, free: 1.215 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3467, allocations: 4 kB / 0.5649 GB, free: 1.211 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.3467, allocations: 0 / 0.5649 GB, free: 1.211 MB / 398.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.0006192/0.3473, allocations: 365.4 kB / 0.5652 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.3474, allocations: 8.031 kB / 0.5653 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.106e-05/0.3474, allocations: 12.89 kB / 0.5653 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.3477, allocations: 167.1 kB / 0.5654 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.3477, allocations: 4.375 kB / 0.5654 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.3477, allocations: 4.375 kB / 0.5654 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.3479, allocations: 49.98 kB / 0.5655 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.3479, allocations: 0 / 0.5655 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.3479, allocations: 0 / 0.5655 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.3479, allocations: 4 kB / 0.5655 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.907e-05/0.348, allocations: 15.98 kB / 0.5655 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002272/0.3482, allocations: 160.8 kB / 0.5657 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.3484, allocations: 54.56 kB / 0.5657 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.419e-05/0.3485, allocations: 24.83 kB / 0.5657 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.3485, allocations: 0 / 0.5657 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.3487, allocations: 67.33 kB / 0.5658 GB, free: 168 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.3487, allocations: 0 / 0.5658 GB, free: 168 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003012/0.349, allocations: 105.5 kB / 0.5659 GB, free: 56 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.349, allocations: 55.41 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/0.3493, allocations: 274.8 kB / 0.5662 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.3493, allocations: 25.7 kB / 0.5662 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.078e-05/0.3494, allocations: 112.1 kB / 0.5663 GB, free: 15.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.3494, allocations: 11.91 kB / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.3495, allocations: 21.72 kB / 0.5664 GB, free: 15.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3496, allocations: 326.8 kB / 0.5667 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.113e-05/0.3497, allocations: 16 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.042e-05/0.3497, allocations: 29.7 kB / 0.5667 GB, free: 15.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.3498, allocations: 49.64 kB / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3498, allocations: 0 / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001681/0.35, allocations: 89.78 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.35, allocations: 4 kB / 0.5669 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.35, allocations: 4.031 kB / 0.5669 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.35, allocations: 0 / 0.5669 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.19e-05/0.3501, allocations: 23.86 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3501, allocations: 0 / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.892e-05/0.3502, allocations: 7.891 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.3502, allocations: 7.938 kB / 0.5669 GB, free: 14.95 MB / 414.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 0.0001126/0.3503, allocations: 135.1 kB / 0.567 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.3503, allocations: 15.84 kB / 0.567 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.3505, allocations: 94.77 kB / 0.5671 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3505, allocations: 3.984 kB / 0.5671 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.3505, allocations: 0 / 0.5671 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3505, allocations: 0 / 0.5671 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.3507, allocations: 172.6 kB / 0.5673 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3507, allocations: 0 / 0.5673 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.396e-05/0.3507, allocations: 7.938 kB / 0.5673 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.3507, allocations: 0 / 0.5673 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.3507, allocations: 0 / 0.5673 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3507, allocations: 0 / 0.5673 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.3508, allocations: 4 kB / 0.5673 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.3509, allocations: 113 kB / 0.5674 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/0.351, allocations: 15.84 kB / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.351, allocations: 0 / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.364e-05/0.351, allocations: 7.984 kB / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.3511, allocations: 4 kB / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.3511, allocations: 4.188 kB / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001808/0.3513, allocations: 200.6 kB / 0.5676 GB, free: 14.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3513, allocations: 4 kB / 0.5677 GB, free: 14.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002208/0.3515, allocations: 23.94 kB / 0.5677 GB, free: 14.08 MB / 414.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 (5): * Single equations (assignments): 3 * 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.00152/0.353, allocations: 409.5 kB / 0.5681 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001749/0.3532, allocations: 35.98 kB / 0.5681 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3532, allocations: 0 / 0.5681 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.56e-05/0.3532, allocations: 23.92 kB / 0.5681 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.3535, allocations: 32.03 kB / 0.5682 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005095/0.354, allocations: 266.4 kB / 0.5684 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.3544, allocations: 0.7158 MB / 0.5691 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.123e-05/0.3545, allocations: 24.66 kB / 0.5691 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.949e-05/0.3545, allocations: 11.44 kB / 0.5691 GB, free: 12.66 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3545, allocations: 0 / 0.5691 GB, free: 12.66 MB / 414.1 MB Notification: Performance of Templates: time 0.004989/0.3595, allocations: 1.571 MB / 0.5707 GB, free: 11.1 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.574687489308417]