Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 104.8 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 190.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.227/1.227, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1829/0.1829, allocations: 43.53 MB / 313.9 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 73.67 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08429/0.08563, allocations: 57.79 MB / 440.6 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.00237/0.08804, allocations: 1.693 MB / 442.3 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008414/0.0889, allocations: 0.7961 MB / 443.1 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.762e-05/0.08897, allocations: 4 kB / 443.1 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002563/0.08923, allocations: 87.75 kB / 443.2 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.08941, allocations: 71.66 kB / 443.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.0896, allocations: 83.78 kB / 443.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.08973, allocations: 103.7 kB / 443.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.272e-05/0.08982, allocations: 20.16 kB / 443.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.27e-05/0.08989, allocations: 55.77 kB / 443.5 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.568e-05/0.08997, allocations: 55.81 kB / 443.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.08999, allocations: 7.938 kB / 443.6 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.158e-05/0.09007, allocations: 40 kB / 443.6 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.153e-05/0.09011, allocations: 19.92 kB / 443.7 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.064e-05/0.09016, allocations: 39.72 kB / 443.7 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.0903, allocations: 107.7 kB / 443.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.09031, allocations: 0 / 443.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.09032, allocations: 7.938 kB / 443.8 MB, free: 3.574 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.09033, allocations: 0 / 443.8 MB, free: 3.574 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003621/0.0907, allocations: 422.9 kB / 444.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.09073, allocations: 15.89 kB / 444.2 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.544e-05/0.09076, allocations: 34.69 kB / 444.3 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.0908, allocations: 12.75 kB / 444.3 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.09094, allocations: 208.1 kB / 444.5 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.09096, allocations: 4.375 kB / 444.5 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.09098, allocations: 3.938 kB / 444.5 MB, free: 2.793 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.0911, allocations: 53.67 kB / 444.5 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.09111, allocations: 4 kB / 444.6 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.09113, allocations: 7.984 kB / 444.6 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.09114, allocations: 0 / 444.6 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.459e-05/0.09121, allocations: 19.92 kB / 444.6 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002432/0.09146, allocations: 300.7 kB / 444.9 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.0916, allocations: 54.69 kB / 444.9 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.167e-05/0.09165, allocations: 24.84 kB / 445 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.09168, allocations: 3.938 kB / 445 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001309/0.09181, allocations: 75.31 kB / 445 MB, free: 2.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.09182, allocations: 0 / 445 MB, free: 2.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004251/0.09225, allocations: 169.2 kB / 445.2 MB, free: 2.008 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.09229, allocations: 55.34 kB / 445.2 MB, free: 1.941 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.09241, allocations: 223.5 kB / 445.5 MB, free: 1.715 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.276e-06/0.09243, allocations: 25.7 kB / 445.5 MB, free: 1.684 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.323e-05/0.09247, allocations: 104.1 kB / 445.6 MB, free: 1.578 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.09249, allocations: 27.64 kB / 445.6 MB, free: 1.551 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.09253, allocations: 21.72 kB / 445.6 MB, free: 1.523 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.914e-05/0.09257, allocations: 322.8 kB / 446 MB, free: 1.199 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.836e-05/0.09262, allocations: 23.98 kB / 446 MB, free: 1.176 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.936e-05/0.09268, allocations: 37.7 kB / 446 MB, free: 1.133 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.764e-05/0.09277, allocations: 61.66 kB / 446.1 MB, free: 1.066 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.09278, allocations: 3.984 kB / 446.1 MB, free: 1.062 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001376/0.09292, allocations: 97.48 kB / 446.2 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.09294, allocations: 8 kB / 446.2 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.09295, allocations: 0 / 446.2 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.09296, allocations: 0 / 446.2 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.262e-05/0.09304, allocations: 23.95 kB / 446.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.09305, allocations: 4 kB / 446.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.96e-05/0.09309, allocations: 7.938 kB / 446.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.09311, allocations: 4 kB / 446.2 MB, free: 0.9141 MB / 318.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 (10): * Single equations (assignments): 10 * 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 6.108e-05/0.09317, allocations: 133.8 kB / 446.4 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.0932, allocations: 11.81 kB / 446.4 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.328e-05/0.09323, allocations: 13.41 kB / 446.4 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.09324, allocations: 7.984 kB / 446.4 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.09325, allocations: 0 / 446.4 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.09326, allocations: 7.938 kB / 446.4 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000281/0.09354, allocations: 391.3 kB / 446.8 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.09355, allocations: 0 / 446.8 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.816e-05/0.09359, allocations: 8.375 kB / 446.8 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.09359, allocations: 7.875 kB / 446.8 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.09361, allocations: 7.984 kB / 446.8 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.09361, allocations: 4 kB / 446.8 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.09362, allocations: 0 / 446.8 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.09377, allocations: 204.7 kB / 447 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.332e-05/0.09384, allocations: 88.92 kB / 447.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.09387, allocations: 7.875 kB / 447.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.09394, allocations: 4 kB / 447.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.09398, allocations: 15.92 kB / 447.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.09399, allocations: 4 kB / 447.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.09412, allocations: 159.2 kB / 447.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09412, allocations: 0 / 447.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002429/0.09437, allocations: 23.98 kB / 447.3 MB, free: 15.73 MB / 334.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: 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 (8): * Single equations (assignments): 6 * 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.001305/0.09568, allocations: 1.094 MB / 448.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.09585, allocations: 67.89 kB / 448.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.09587, allocations: 0 / 448.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.606e-05/0.09594, allocations: 35.98 kB / 448.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.09625, allocations: 30.02 kB / 448.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.0978, allocations: 1.686 MB / 450.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.09806, allocations: 0.7122 MB / 450.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.562e-05/0.09811, allocations: 16.84 kB / 450.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.79e-05/0.09817, allocations: 35.42 kB / 451 MB, free: 12.01 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.09818, allocations: 7.938 kB / 451 MB, free: 12 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3164/0.4145, allocations: 3.409 MB / 454.4 MB, free: 8.57 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.108/8.522, allocations: 7.875 kB / 454.4 MB, free: 8.562 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches