Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.002063/0.002063, allocations: 109 kB / 21.23 MB, free: 0.6719 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.002568/0.002568, allocations: 209.9 kB / 24.54 MB, free: 4.035 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.441/1.441, allocations: 230.3 MB / 258 MB, free: 8.211 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.23/0.23, allocations: 46.89 MB / 361.3 MB, free: 4.434 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 75.88 kB / 0.4971 GB, free: 7.527 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3376, allocations: 66.02 MB / 0.5616 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003543/0.3412, allocations: 1.96 MB / 0.5635 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.3431, allocations: 1.088 MB / 0.5646 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.3432, allocations: 3.938 kB / 0.5646 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003138/0.3435, allocations: 43.72 kB / 0.5646 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003814/0.3439, allocations: 95.53 kB / 0.5647 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.3442, allocations: 103.6 kB / 0.5648 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002886/0.3445, allocations: 155.5 kB / 0.5649 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001832/0.3447, allocations: 25.39 kB / 0.565 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.3448, allocations: 55.72 kB / 0.565 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.345, allocations: 59.7 kB / 0.5651 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.345, allocations: 8 kB / 0.5651 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.3451, allocations: 47.97 kB / 0.5651 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.165e-05/0.3452, allocations: 23.92 kB / 0.5652 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.128e-05/0.3453, allocations: 55.56 kB / 0.5652 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.3456, allocations: 150.2 kB / 0.5653 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3456, allocations: 4 kB / 0.5654 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3456, allocations: 0 / 0.5654 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.3456, allocations: 0 / 0.5654 GB, free: 0.7227 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007738/0.3464, allocations: 419 kB / 0.5658 GB, free: 284 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.3464, allocations: 11.97 kB / 0.5658 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.684e-05/0.3465, allocations: 16.84 kB / 0.5658 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.3468, allocations: 171.1 kB / 0.5659 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.3469, allocations: 4.375 kB / 0.5659 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.3469, allocations: 8.375 kB / 0.566 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.3472, allocations: 112.5 kB / 0.5661 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.3472, allocations: 0 / 0.5661 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.3472, allocations: 8 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.3472, allocations: 3.984 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.3474, allocations: 47.97 kB / 0.5661 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006725/0.348, allocations: 484.1 kB / 0.5666 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003523/0.3484, allocations: 90.59 kB / 0.5667 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.3485, allocations: 36.78 kB / 0.5667 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.3485, allocations: 4 kB / 0.5667 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.3487, allocations: 83.38 kB / 0.5668 GB, free: 15.1 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.3487, allocations: 0 / 0.5668 GB, free: 15.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004294/0.3492, allocations: 149.4 kB / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.3492, allocations: 55.39 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.3494, allocations: 207 kB / 0.5672 GB, free: 14.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.3494, allocations: 25.7 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.203e-05/0.3495, allocations: 120.1 kB / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.3496, allocations: 31.73 kB / 0.5673 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-05/0.3496, allocations: 25.72 kB / 0.5674 GB, free: 14.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.3498, allocations: 334.8 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.122e-05/0.3499, allocations: 23.98 kB / 0.5677 GB, free: 14.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.35, allocations: 71.39 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.3502, allocations: 92.22 kB / 0.5679 GB, free: 13.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3502, allocations: 0 / 0.5679 GB, free: 13.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002925/0.3505, allocations: 141.4 kB / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3505, allocations: 4 kB / 0.568 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.3505, allocations: 4 kB / 0.568 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.3505, allocations: 0 / 0.568 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.3506, allocations: 27.92 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.3506, allocations: 0 / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.547e-05/0.3507, allocations: 23.88 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.3507, allocations: 4 kB / 0.5681 GB, free: 13.7 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001382/0.3509, allocations: 132.2 kB / 0.5682 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.3509, allocations: 15.91 kB / 0.5682 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003252/0.3512, allocations: 126.9 kB / 0.5683 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3512, allocations: 0 / 0.5683 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.3512, allocations: 4 kB / 0.5683 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.443e-06/0.3512, allocations: 7.922 kB / 0.5683 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.3515, allocations: 180.7 kB / 0.5685 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3515, allocations: 3.938 kB / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.792e-05/0.3516, allocations: 12 kB / 0.5685 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3516, allocations: 4 kB / 0.5685 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.3516, allocations: 3.984 kB / 0.5685 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3516, allocations: 0 / 0.5685 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3516, allocations: 3.938 kB / 0.5685 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000411/0.352, allocations: 184.9 kB / 0.5687 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.543e-05/0.352, allocations: 16 kB / 0.5687 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.352, allocations: 4 kB / 0.5687 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.218e-05/0.3521, allocations: 7.984 kB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.3522, allocations: 11.92 kB / 0.5688 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.3522, allocations: 8 kB / 0.5688 GB, free: 12.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001431/0.3523, allocations: 143.2 kB / 0.5689 GB, free: 12.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3523, allocations: 0 / 0.5689 GB, free: 12.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002366/0.3526, allocations: 23.94 kB / 0.5689 GB, free: 12.75 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001563/0.3541, allocations: 403.2 kB / 0.5693 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002966/0.3544, allocations: 83.77 kB / 0.5694 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3544, allocations: 0 / 0.5694 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.3545, allocations: 31.92 kB / 0.5694 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.3549, allocations: 46.52 kB / 0.5695 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006843/0.3556, allocations: 279.6 kB / 0.5697 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/0.356, allocations: 0.7162 MB / 0.5704 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.3561, allocations: 21.42 kB / 0.5704 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.124e-05/0.3562, allocations: 23.38 kB / 0.5705 GB, free: 11.25 MB / 414.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3562, allocations: 0 / 0.5705 GB, free: 11.25 MB / 414.1 MB Notification: Performance of Templates: time 0.005831/0.362, allocations: 1.952 MB / 0.5724 GB, free: 9.309 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.000674827024341]