Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.001781/0.001781, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002375/0.002375, allocations: 211.5 kB / 23.73 MB, free: 4.523 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.45/1.45, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2292/0.2292, allocations: 46.96 MB / 360.9 MB, free: 4.031 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 63.84 kB / 0.4962 GB, free: 7.652 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2874, allocations: 66.04 MB / 0.5607 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003572/0.291, allocations: 1.89 MB / 0.5625 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.2929, allocations: 1.014 MB / 0.5635 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.231e-05/0.293, allocations: 0 / 0.5635 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.2933, allocations: 43.69 kB / 0.5635 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003289/0.2936, allocations: 99.48 kB / 0.5636 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.2939, allocations: 99.64 kB / 0.5637 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.2941, allocations: 155.5 kB / 0.5639 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.2942, allocations: 23.56 kB / 0.5639 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.2943, allocations: 51.73 kB / 0.5639 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.2944, allocations: 63.62 kB / 0.564 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.2944, allocations: 8 kB / 0.564 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.2945, allocations: 43.98 kB / 0.5641 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.85e-05/0.2946, allocations: 27.91 kB / 0.5641 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.977e-05/0.2947, allocations: 43.73 kB / 0.5641 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.2949, allocations: 155.2 kB / 0.5643 GB, free: 456 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.295, allocations: 0 / 0.5643 GB, free: 456 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.295, allocations: 0 / 0.5643 GB, free: 456 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.295, allocations: 4 kB / 0.5643 GB, free: 452 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006869/0.2956, allocations: 419 kB / 0.5647 GB, free: 15.99 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.2957, allocations: 8.031 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.603e-05/0.2957, allocations: 38.75 kB / 0.5647 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.621e-05/0.2958, allocations: 16.84 kB / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.2961, allocations: 170.9 kB / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.2961, allocations: 4.375 kB / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.2961, allocations: 15.92 kB / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.2964, allocations: 140.9 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2964, allocations: 0 / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.2964, allocations: 0 / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2964, allocations: 0 / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.2966, allocations: 51.91 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005967/0.2972, allocations: 484 kB / 0.5656 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.2975, allocations: 94.59 kB / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.539e-05/0.2976, allocations: 36.84 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.2976, allocations: 0 / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002191/0.2978, allocations: 113 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.763e-06/0.2978, allocations: 0 / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004103/0.2982, allocations: 149.4 kB / 0.5659 GB, free: 14.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.2983, allocations: 59.41 kB / 0.566 GB, free: 14.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.2985, allocations: 203.1 kB / 0.5662 GB, free: 14.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.2985, allocations: 33.7 kB / 0.5662 GB, free: 14.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.399e-05/0.2986, allocations: 112.1 kB / 0.5663 GB, free: 14.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/0.2986, allocations: 35.72 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.945e-05/0.2987, allocations: 29.72 kB / 0.5664 GB, free: 14.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.2988, allocations: 322.8 kB / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.936e-05/0.2989, allocations: 31.97 kB / 0.5667 GB, free: 13.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.299, allocations: 60.28 kB / 0.5668 GB, free: 13.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.2992, allocations: 108.1 kB / 0.5669 GB, free: 13.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2992, allocations: 0 / 0.5669 GB, free: 13.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002793/0.2995, allocations: 141.8 kB / 0.567 GB, free: 13.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.2995, allocations: 4 kB / 0.567 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.2995, allocations: 4 kB / 0.567 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.2996, allocations: 11.86 kB / 0.567 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.953e-05/0.2997, allocations: 24.12 kB / 0.5671 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.2997, allocations: 7.969 kB / 0.5671 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.48e-05/0.2997, allocations: 19.88 kB / 0.5671 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.2998, allocations: 4 kB / 0.5671 GB, free: 13.29 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.0001135/0.2999, allocations: 132.6 kB / 0.5672 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.815e-05/0.2999, allocations: 19.89 kB / 0.5672 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003003/0.3002, allocations: 131 kB / 0.5674 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.3002, allocations: 3.938 kB / 0.5674 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3002, allocations: 8 kB / 0.5674 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3002, allocations: 0 / 0.5674 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.3004, allocations: 164.7 kB / 0.5675 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.3004, allocations: 3.984 kB / 0.5675 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.807e-05/0.3005, allocations: 16 kB / 0.5676 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3005, allocations: 0 / 0.5676 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.3005, allocations: 4 kB / 0.5676 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.3005, allocations: 3.938 kB / 0.5676 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3005, allocations: 0 / 0.5676 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004048/0.3009, allocations: 196.9 kB / 0.5677 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.468e-05/0.301, allocations: 15.88 kB / 0.5678 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.301, allocations: 3.984 kB / 0.5678 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.37e-05/0.301, allocations: 15.88 kB / 0.5678 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.3011, allocations: 7.984 kB / 0.5678 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.3011, allocations: 8 kB / 0.5678 GB, free: 12.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001542/0.3013, allocations: 147.5 kB / 0.5679 GB, free: 12.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3013, allocations: 0 / 0.5679 GB, free: 12.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000243/0.3015, allocations: 27.98 kB / 0.568 GB, free: 12.32 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 (10): * Single equations (assignments): 8 * 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.002365/0.3039, allocations: 1.069 MB / 0.569 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003035/0.3042, allocations: 75.84 kB / 0.5691 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.3042, allocations: 0 / 0.5691 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.3043, allocations: 43.91 kB / 0.5691 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.3046, allocations: 41.28 kB / 0.5692 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.3071, allocations: 1.77 MB / 0.5709 GB, free: 9.371 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.3072, allocations: 101.8 kB / 0.571 GB, free: 9.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.468e-05/0.3073, allocations: 25.42 kB / 0.571 GB, free: 9.227 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.513e-05/0.3074, allocations: 39.42 kB / 0.571 GB, free: 9.188 MB / 414.1 MB Notification: Performance of SimCode: time 1.242e-06/0.3074, allocations: 0 / 0.571 GB, free: 9.188 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0311/0.3385, allocations: 4.598 MB / 0.5755 GB, free: 4.648 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.29, allocations: 3.281 kB / 0.5755 GB, free: 4.648 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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: 14.315617504005786]