Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 214.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.527/1.527, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2523/0.2523, allocations: 46.94 MB / 360.9 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002332, allocations: 79.81 kB / 0.4967 GB, free: 7.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3483, allocations: 66.03 MB / 0.5612 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.00338/0.3517, allocations: 1.635 MB / 0.5627 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.3528, allocations: 0.5621 MB / 0.5633 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.456e-05/0.3529, allocations: 4 kB / 0.5633 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002784/0.3532, allocations: 83.69 kB / 0.5634 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003247/0.3535, allocations: 99.59 kB / 0.5635 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.3538, allocations: 111.7 kB / 0.5636 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.354, allocations: 83.75 kB / 0.5637 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.3541, allocations: 19.64 kB / 0.5637 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.766e-05/0.3542, allocations: 39.89 kB / 0.5637 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.3543, allocations: 67.69 kB / 0.5638 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.3543, allocations: 4 kB / 0.5638 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.3544, allocations: 47.98 kB / 0.5638 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.212e-05/0.3545, allocations: 19.92 kB / 0.5639 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.367e-05/0.3545, allocations: 27.75 kB / 0.5639 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.3547, allocations: 106.3 kB / 0.564 GB, free: 1.516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3548, allocations: 0 / 0.564 GB, free: 1.516 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3548, allocations: 0 / 0.564 GB, free: 1.516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.3548, allocations: 0 / 0.564 GB, free: 1.516 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005598/0.3553, allocations: 349.5 kB / 0.5643 GB, free: 1.145 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.3554, allocations: 16.02 kB / 0.5643 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.836e-05/0.3554, allocations: 12.84 kB / 0.5643 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.3556, allocations: 139 kB / 0.5645 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-06/0.3556, allocations: 384 / 0.5645 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.3557, allocations: 8.375 kB / 0.5645 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.3558, allocations: 53.8 kB / 0.5645 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.3558, allocations: 0 / 0.5645 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.3559, allocations: 7.938 kB / 0.5645 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3559, allocations: 0 / 0.5645 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.356, allocations: 39.91 kB / 0.5646 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004873/0.3565, allocations: 271.8 kB / 0.5648 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.3566, allocations: 46.56 kB / 0.5649 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.283e-05/0.3566, allocations: 16.94 kB / 0.5649 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.3567, allocations: 0 / 0.5649 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.3567, allocations: 42.5 kB / 0.5649 GB, free: 416 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3567, allocations: 0 / 0.5649 GB, free: 416 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009864/0.3577, allocations: 237.5 kB / 0.5652 GB, free: 172 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.762e-05/0.3577, allocations: 67.39 kB / 0.5652 GB, free: 92 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003612/0.3581, allocations: 210.2 kB / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.3581, allocations: 25.7 kB / 0.5655 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.926e-05/0.3582, allocations: 112 kB / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.775e-05/0.3583, allocations: 27.75 kB / 0.5656 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.3583, allocations: 25.7 kB / 0.5656 GB, free: 15.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.3585, allocations: 322.8 kB / 0.5659 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.3586, allocations: 36.05 kB / 0.566 GB, free: 15.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.888e-05/0.3587, allocations: 27.97 kB / 0.566 GB, free: 15.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.3589, allocations: 72.81 kB / 0.5661 GB, free: 15.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3589, allocations: 0 / 0.5661 GB, free: 15.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002423/0.3591, allocations: 117.5 kB / 0.5662 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.3591, allocations: 4 kB / 0.5662 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3591, allocations: 4 kB / 0.5662 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.3592, allocations: 4 kB / 0.5662 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.3593, allocations: 15.98 kB / 0.5662 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3593, allocations: 0 / 0.5662 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.998e-05/0.3593, allocations: 7.938 kB / 0.5662 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.3593, allocations: 4 kB / 0.5662 GB, free: 15.05 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001291/0.3595, allocations: 129.8 kB / 0.5663 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.131e-05/0.3595, allocations: 11.91 kB / 0.5663 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003283/0.3598, allocations: 139 kB / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3598, allocations: 0 / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3598, allocations: 0 / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.3598, allocations: 7.938 kB / 0.5665 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005892/0.3604, allocations: 390.7 kB / 0.5669 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3604, allocations: 0 / 0.5669 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.706e-05/0.3605, allocations: 19.98 kB / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.453e-06/0.3605, allocations: 7.969 kB / 0.5669 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.3605, allocations: 0 / 0.5669 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.3605, allocations: 4 kB / 0.5669 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3605, allocations: 3.938 kB / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/0.3609, allocations: 216.3 kB / 0.5671 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.3609, allocations: 23.83 kB / 0.5671 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.3609, allocations: 4 kB / 0.5671 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.609e-05/0.361, allocations: 4 kB / 0.5671 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.361, allocations: 7.984 kB / 0.5671 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.361, allocations: 0 / 0.5671 GB, free: 14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001512/0.3612, allocations: 172.2 kB / 0.5673 GB, free: 13.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3612, allocations: 0 / 0.5673 GB, free: 13.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.3614, allocations: 20 kB / 0.5673 GB, free: 13.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.00175/0.3632, allocations: 471 kB / 0.5678 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002641/0.3635, allocations: 67.95 kB / 0.5678 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.3635, allocations: 4 kB / 0.5678 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.3636, allocations: 35.92 kB / 0.5679 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.3639, allocations: 26.27 kB / 0.5679 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006073/0.3645, allocations: 266.7 kB / 0.5681 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.3649, allocations: 0.7119 MB / 0.5688 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.564e-05/0.365, allocations: 20.95 kB / 0.5689 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.365, allocations: 15.42 kB / 0.5689 GB, free: 12.34 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.365, allocations: 0 / 0.5689 GB, free: 12.34 MB / 414.1 MB Notification: Performance of Templates: time 0.004943/0.37, allocations: 1.445 MB / 0.5703 GB, free: 10.9 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.479124844074249]