Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.001394/0.001394, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001683/0.001683, allocations: 212.4 kB / 23.73 MB, free: 4.387 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.528/1.528, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2427/0.2427, allocations: 46.97 MB / 360.9 MB, free: 4.043 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.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002394/0.002394, allocations: 67.91 kB / 0.4966 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3649, allocations: 66.04 MB / 0.5611 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003637/0.3685, allocations: 1.59 MB / 0.5626 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.3696, allocations: 0.5115 MB / 0.5631 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.3697, allocations: 0 / 0.5631 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002248/0.3699, allocations: 27.78 kB / 0.5632 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003086/0.3702, allocations: 83.62 kB / 0.5633 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.3705, allocations: 94.94 kB / 0.5633 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.3707, allocations: 59.84 kB / 0.5634 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.3708, allocations: 15.97 kB / 0.5634 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.777e-05/0.3709, allocations: 19.88 kB / 0.5634 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.339e-05/0.371, allocations: 23.86 kB / 0.5635 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.371, allocations: 4 kB / 0.5635 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.941e-05/0.3711, allocations: 31.98 kB / 0.5635 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.252e-05/0.3711, allocations: 15.92 kB / 0.5635 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.922e-05/0.3712, allocations: 23.86 kB / 0.5635 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.3714, allocations: 82 kB / 0.5636 GB, free: 1.586 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3714, allocations: 0 / 0.5636 GB, free: 1.586 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3714, allocations: 0 / 0.5636 GB, free: 1.586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.3714, allocations: 0 / 0.5636 GB, free: 1.586 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005999/0.372, allocations: 313.9 kB / 0.5639 GB, free: 1.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.3721, allocations: 8.031 kB / 0.5639 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.3721, allocations: 8.891 kB / 0.5639 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.3723, allocations: 130.4 kB / 0.564 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.3723, allocations: 4.375 kB / 0.5641 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.3723, allocations: 4.375 kB / 0.5641 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.3725, allocations: 61.73 kB / 0.5641 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.3725, allocations: 3.984 kB / 0.5641 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.3725, allocations: 0 / 0.5641 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3725, allocations: 0 / 0.5641 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.77e-05/0.3726, allocations: 19.98 kB / 0.5641 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003376/0.3729, allocations: 224.5 kB / 0.5644 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.3731, allocations: 42.5 kB / 0.5644 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.794e-05/0.3732, allocations: 16.94 kB / 0.5644 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.3732, allocations: 4 kB / 0.5644 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.3732, allocations: 34.56 kB / 0.5644 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3732, allocations: 0 / 0.5644 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005425/0.3738, allocations: 137.4 kB / 0.5646 GB, free: 488 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.3738, allocations: 59.39 kB / 0.5646 GB, free: 416 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.374, allocations: 146.2 kB / 0.5648 GB, free: 256 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.374, allocations: 25.7 kB / 0.5648 GB, free: 224 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.957e-05/0.3741, allocations: 100.1 kB / 0.5649 GB, free: 120 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.3741, allocations: 23.78 kB / 0.5649 GB, free: 96 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.3742, allocations: 17.72 kB / 0.5649 GB, free: 72 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.3744, allocations: 322.8 kB / 0.5652 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.296e-05/0.3744, allocations: 19.98 kB / 0.5653 GB, free: 15.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.776e-05/0.3745, allocations: 19.98 kB / 0.5653 GB, free: 15.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.3746, allocations: 52.89 kB / 0.5653 GB, free: 15.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3746, allocations: 4 kB / 0.5653 GB, free: 15.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001758/0.3748, allocations: 81.62 kB / 0.5654 GB, free: 15.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3748, allocations: 8 kB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.3748, allocations: 0 / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3748, allocations: 0 / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.343e-05/0.3749, allocations: 11.98 kB / 0.5654 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3749, allocations: 0 / 0.5654 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.423e-05/0.3749, allocations: 7.984 kB / 0.5654 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.375, allocations: 4 kB / 0.5654 GB, free: 15.53 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.000101/0.3751, allocations: 125.7 kB / 0.5656 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.3751, allocations: 7.953 kB / 0.5656 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002562/0.3753, allocations: 97.98 kB / 0.5657 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3753, allocations: 0 / 0.5657 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3754, allocations: 0 / 0.5657 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3754, allocations: 0 / 0.5657 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004184/0.3758, allocations: 294.1 kB / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3758, allocations: 0 / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.43e-05/0.3758, allocations: 12 kB / 0.566 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3758, allocations: 4 kB / 0.566 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.3758, allocations: 0 / 0.566 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3758, allocations: 0 / 0.566 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.3758, allocations: 3.984 kB / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.3761, allocations: 175.6 kB / 0.5661 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.424e-05/0.3761, allocations: 8.016 kB / 0.5661 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.3761, allocations: 4 kB / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.776e-05/0.3762, allocations: 7.984 kB / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.3762, allocations: 4 kB / 0.5662 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.3762, allocations: 11.94 kB / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001074/0.3763, allocations: 121.6 kB / 0.5663 GB, free: 14.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3763, allocations: 0 / 0.5663 GB, free: 14.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002338/0.3766, allocations: 15.94 kB / 0.5663 GB, free: 14.58 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.001617/0.3782, allocations: 439.5 kB / 0.5667 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002169/0.3784, allocations: 43.95 kB / 0.5668 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3784, allocations: 4 kB / 0.5668 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.669e-05/0.3785, allocations: 28.05 kB / 0.5668 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.3788, allocations: 12 kB / 0.5668 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004931/0.3793, allocations: 182.3 kB / 0.567 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.3795, allocations: 87 kB / 0.5671 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.516e-05/0.3795, allocations: 11.78 kB / 0.5671 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.12e-05/0.3795, allocations: 15.44 kB / 0.5671 GB, free: 13.9 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3795, allocations: 0 / 0.5671 GB, free: 13.9 MB / 414.1 MB Notification: Performance of Templates: time 0.004339/0.3839, allocations: 1.157 MB / 0.5682 GB, free: 12.76 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.233816724270582]