Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.001288/0.001288, 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.001495/0.001495, allocations: 211.6 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.438/1.438, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2295/0.2295, allocations: 46.97 MB / 360.9 MB, free: 4.051 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.Test65,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 67.89 kB / 0.4962 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2955, allocations: 66.04 MB / 0.5607 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003089/0.2986, allocations: 1.667 MB / 0.5623 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.3002, allocations: 0.947 MB / 0.5632 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.193e-05/0.3003, allocations: 0 / 0.5632 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.3006, allocations: 95.67 kB / 0.5633 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003138/0.3009, allocations: 119.5 kB / 0.5634 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.3011, allocations: 67.75 kB / 0.5635 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.3012, allocations: 115.6 kB / 0.5636 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.738e-05/0.3013, allocations: 8.234 kB / 0.5636 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.445e-05/0.3014, allocations: 47.78 kB / 0.5636 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.3015, allocations: 63.75 kB / 0.5637 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.3015, allocations: 0 / 0.5637 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.921e-05/0.3016, allocations: 43.97 kB / 0.5637 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.04e-05/0.3016, allocations: 23.92 kB / 0.5638 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.54e-05/0.3017, allocations: 27.75 kB / 0.5638 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.3019, allocations: 113.3 kB / 0.5639 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3019, allocations: 0 / 0.5639 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3019, allocations: 0 / 0.5639 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.3019, allocations: 0 / 0.5639 GB, free: 0.9062 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005148/0.3024, allocations: 345.5 kB / 0.5642 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3024, allocations: 12.03 kB / 0.5642 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.114e-05/0.3025, allocations: 34.75 kB / 0.5643 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.3025, allocations: 20.84 kB / 0.5643 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.3027, allocations: 154.3 kB / 0.5644 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.3028, allocations: 384 / 0.5644 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.3028, allocations: 7.938 kB / 0.5645 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.3029, allocations: 53.61 kB / 0.5645 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.3029, allocations: 0 / 0.5645 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.3029, allocations: 7.984 kB / 0.5645 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.3029, allocations: 0 / 0.5645 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.914e-05/0.303, allocations: 12 kB / 0.5645 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002234/0.3032, allocations: 152.8 kB / 0.5647 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.3034, allocations: 58.55 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.609e-05/0.3035, allocations: 20.8 kB / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.3035, allocations: 0 / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.3037, allocations: 71.38 kB / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3037, allocations: 0 / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002861/0.3039, allocations: 97.58 kB / 0.5649 GB, free: 15.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.304, allocations: 55.41 kB / 0.565 GB, free: 15.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.3042, allocations: 231.5 kB / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.3043, allocations: 33.64 kB / 0.5652 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.308e-05/0.3043, allocations: 104.1 kB / 0.5653 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.3043, allocations: 15.89 kB / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.949e-05/0.3044, allocations: 21.7 kB / 0.5653 GB, free: 15.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3046, allocations: 322.8 kB / 0.5657 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.069e-05/0.3046, allocations: 12 kB / 0.5657 GB, free: 14.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.078e-05/0.3047, allocations: 33.7 kB / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.3048, allocations: 45.7 kB / 0.5657 GB, free: 14.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3048, allocations: 3.938 kB / 0.5657 GB, free: 14.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001649/0.3049, allocations: 89.53 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.305, allocations: 7.984 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.305, allocations: 3.938 kB / 0.5658 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.305, allocations: 4 kB / 0.5658 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.203e-05/0.305, allocations: 8.312 kB / 0.5659 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.3051, allocations: 0 / 0.5659 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.745e-05/0.3051, allocations: 8 kB / 0.5659 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.3051, allocations: 7.984 kB / 0.5659 GB, free: 14.68 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001086/0.3052, allocations: 134.2 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.3052, allocations: 15.94 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002183/0.3055, allocations: 98.75 kB / 0.5661 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.3055, allocations: 4 kB / 0.5661 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3055, allocations: 0 / 0.5661 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3055, allocations: 0 / 0.5661 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.3056, allocations: 164.6 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3056, allocations: 0 / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.64e-05/0.3057, allocations: 4 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3057, allocations: 0 / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.3057, allocations: 3.938 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3057, allocations: 4 kB / 0.5663 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3057, allocations: 4 kB / 0.5663 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/0.3059, allocations: 117 kB / 0.5664 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.722e-05/0.3059, allocations: 19.89 kB / 0.5664 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.3059, allocations: 8 kB / 0.5664 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.794e-05/0.306, allocations: 0 / 0.5664 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/0.306, allocations: 7.984 kB / 0.5664 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.306, allocations: 0 / 0.5664 GB, free: 14.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001522/0.3061, allocations: 173.1 kB / 0.5666 GB, free: 13.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3061, allocations: 0 / 0.5666 GB, free: 13.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002153/0.3064, allocations: 19.94 kB / 0.5666 GB, free: 13.83 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: 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 (6): * Single equations (assignments): 4 * 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.002086/0.3084, allocations: 0.9897 MB / 0.5676 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001561/0.3086, allocations: 35.98 kB / 0.5676 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3086, allocations: 3.938 kB / 0.5676 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.503e-05/0.3087, allocations: 23.98 kB / 0.5676 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.3089, allocations: 30.7 kB / 0.5677 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.3107, allocations: 1.585 MB / 0.5692 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.997e-05/0.3108, allocations: 96.17 kB / 0.5693 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.045e-05/0.3108, allocations: 20.47 kB / 0.5693 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.197e-05/0.3109, allocations: 31.44 kB / 0.5694 GB, free: 11.08 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3109, allocations: 0 / 0.5694 GB, free: 11.08 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02894/0.3399, allocations: 3.973 MB / 0.5732 GB, free: 7.164 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.07, allocations: 5.953 kB / 0.5732 GB, free: 7.164 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --stepSize=0.00019972 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.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: 13.99482952200924]