Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001593/0.001593, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.002006/0.002006, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.494/1.494, allocations: 230.6 MB / 258.3 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.2388/0.2388, allocations: 46.94 MB / 361.6 MB, free: 4.363 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 63.91 kB / 0.4974 GB, free: 7.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3417, allocations: 66.03 MB / 0.5619 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003447/0.3451, allocations: 1.671 MB / 0.5635 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.3462, allocations: 0.5621 MB / 0.5641 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.907e-05/0.3463, allocations: 4 kB / 0.5641 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005918/0.3469, allocations: 459.1 kB / 0.5645 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004974/0.3474, allocations: 295.3 kB / 0.5648 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.3477, allocations: 135.5 kB / 0.5649 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.348, allocations: 167.6 kB / 0.5651 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.3481, allocations: 19.97 kB / 0.5651 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.3482, allocations: 107.7 kB / 0.5652 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002851/0.3485, allocations: 255.4 kB / 0.5654 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.3485, allocations: 4 kB / 0.5655 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.675e-05/0.3486, allocations: 32 kB / 0.5655 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.3487, allocations: 83.69 kB / 0.5656 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.557e-05/0.3488, allocations: 103 kB / 0.5657 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003411/0.3491, allocations: 261 kB / 0.5659 GB, free: 312 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.737e-05/0.3491, allocations: 4 kB / 0.5659 GB, free: 308 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3491, allocations: 0 / 0.5659 GB, free: 308 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.3491, allocations: 0 / 0.5659 GB, free: 308 kB / 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.0007728/0.3499, allocations: 0.5815 MB / 0.5665 GB, free: 15.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3499, allocations: 8.031 kB / 0.5665 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.099e-05/0.35, allocations: 48.66 kB / 0.5665 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.3503, allocations: 234.8 kB / 0.5668 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.3503, allocations: 4.375 kB / 0.5668 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.3504, allocations: 384 / 0.5668 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.3505, allocations: 57.8 kB / 0.5668 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.3505, allocations: 0 / 0.5668 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.3505, allocations: 7.984 kB / 0.5668 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3505, allocations: 3.938 kB / 0.5668 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.031e-05/0.3506, allocations: 23.92 kB / 0.5669 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000535/0.3512, allocations: 367.7 kB / 0.5672 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.3514, allocations: 46.55 kB / 0.5672 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.081e-05/0.3514, allocations: 16.8 kB / 0.5673 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.3514, allocations: 0 / 0.5673 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.3515, allocations: 38.56 kB / 0.5673 GB, free: 14.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.3515, allocations: 0 / 0.5673 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006168/0.3521, allocations: 232.8 kB / 0.5675 GB, free: 14.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.3521, allocations: 51.41 kB / 0.5676 GB, free: 14.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008908/0.353, allocations: 0.8653 MB / 0.5684 GB, free: 13.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.353, allocations: 25.7 kB / 0.5684 GB, free: 13.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.3532, allocations: 228.1 kB / 0.5687 GB, free: 13.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.3532, allocations: 11.84 kB / 0.5687 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.852e-05/0.3533, allocations: 21.7 kB / 0.5687 GB, free: 13.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.3535, allocations: 362.7 kB / 0.569 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.718e-05/0.3535, allocations: 19.98 kB / 0.5691 GB, free: 12.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.543e-05/0.3536, allocations: 15.98 kB / 0.5691 GB, free: 12.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.3537, allocations: 57.02 kB / 0.5691 GB, free: 12.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.3537, allocations: 0 / 0.5691 GB, free: 12.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002086/0.3539, allocations: 117.3 kB / 0.5692 GB, free: 12.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.354, allocations: 11.94 kB / 0.5692 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.354, allocations: 0 / 0.5692 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.354, allocations: 3.984 kB / 0.5693 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.356e-05/0.3541, allocations: 8 kB / 0.5693 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3541, allocations: 4 kB / 0.5693 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.784e-05/0.3541, allocations: 11.92 kB / 0.5693 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.3541, allocations: 8 kB / 0.5693 GB, free: 12.66 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 (5): * Single equations (assignments): 5 * 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.0002161/0.3543, allocations: 205.8 kB / 0.5695 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.847e-05/0.3544, allocations: 43.72 kB / 0.5695 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002912/0.3547, allocations: 137.1 kB / 0.5697 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3547, allocations: 0 / 0.5697 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3547, allocations: 0 / 0.5697 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.3547, allocations: 3.938 kB / 0.5697 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005818/0.3553, allocations: 429.6 kB / 0.5701 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3553, allocations: 3.938 kB / 0.5701 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.555e-05/0.3553, allocations: 11.98 kB / 0.5701 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3553, allocations: 3.938 kB / 0.5701 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.3554, allocations: 3.938 kB / 0.5701 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3554, allocations: 4 kB / 0.5701 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3554, allocations: 192 / 0.5701 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.3556, allocations: 223.2 kB / 0.5703 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/0.3557, allocations: 35.67 kB / 0.5703 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.3557, allocations: 3.938 kB / 0.5703 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.31e-05/0.3558, allocations: 7.984 kB / 0.5703 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.3558, allocations: 4 kB / 0.5704 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.3558, allocations: 0 / 0.5704 GB, free: 11.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006544/0.3565, allocations: 0.6589 MB / 0.571 GB, free: 10.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3565, allocations: 0 / 0.571 GB, free: 10.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.3567, allocations: 27.94 kB / 0.571 GB, free: 10.79 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.001456/0.3582, allocations: 403.3 kB / 0.5714 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002166/0.3584, allocations: 51.91 kB / 0.5715 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3584, allocations: 0 / 0.5715 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.277e-05/0.3585, allocations: 31.92 kB / 0.5715 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.3589, allocations: 26.3 kB / 0.5715 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.3602, allocations: 0.8351 MB / 0.5723 GB, free: 9.566 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005004/0.3607, allocations: 0.826 MB / 0.5731 GB, free: 8.715 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.658e-05/0.3607, allocations: 11.44 kB / 0.5731 GB, free: 8.707 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3607, allocations: 0 / 0.5731 GB, free: 8.707 MB / 414.1 MB Notification: Performance of Templates: time 0.008008/0.3687, allocations: 3.73 MB / 0.5768 GB, free: 4.977 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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: 7.890667745145038]