Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",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.001651/0.001651, allocations: 101.5 kB / 16.27 MB, free: 5.902 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.001876/0.001876, allocations: 187.6 kB / 17.2 MB, free: 5.543 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.401/1.401, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2025/0.2025, allocations: 43.53 MB / 314 MB, free: 0.5195 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.00143/0.00143, allocations: 73.23 kB / 382.8 MB, free: 56.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08288/0.08432, allocations: 57.79 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002454/0.08681, allocations: 1.693 MB / 442.3 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009022/0.08773, allocations: 0.7961 MB / 443.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.364e-05/0.0878, allocations: 0 / 443.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002419/0.08806, allocations: 51.75 kB / 443.2 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.08823, allocations: 51.77 kB / 443.2 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.08844, allocations: 87.75 kB / 443.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.08857, allocations: 91.7 kB / 443.4 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.14e-05/0.08865, allocations: 12.17 kB / 443.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.158e-05/0.08872, allocations: 47.78 kB / 443.5 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.611e-05/0.08879, allocations: 23.86 kB / 443.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.08881, allocations: 4 kB / 443.5 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.77e-05/0.08889, allocations: 47.91 kB / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.158e-05/0.08894, allocations: 15.92 kB / 443.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.049e-05/0.08898, allocations: 35.73 kB / 443.6 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.08913, allocations: 107.7 kB / 443.7 MB, free: 3.727 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.08914, allocations: 7.984 kB / 443.7 MB, free: 3.719 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.08915, allocations: 4 kB / 443.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.08915, allocations: 0 / 443.7 MB, free: 3.715 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.0003734/0.08953, allocations: 407 kB / 444.1 MB, free: 3.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.08957, allocations: 11.89 kB / 444.1 MB, free: 3.258 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.291e-05/0.0896, allocations: 42.67 kB / 444.1 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.08963, allocations: 12.84 kB / 444.2 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.08978, allocations: 201 kB / 444.4 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.0898, allocations: 8.359 kB / 444.4 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.08983, allocations: 7.938 kB / 444.4 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.08995, allocations: 49.67 kB / 444.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.08999, allocations: 0 / 444.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.09, allocations: 12 kB / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.09001, allocations: 0 / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.607e-05/0.09008, allocations: 15.98 kB / 444.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002441/0.09033, allocations: 292.7 kB / 444.7 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.09048, allocations: 50.69 kB / 444.8 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.661e-05/0.09054, allocations: 32.78 kB / 444.8 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.09056, allocations: 3.938 kB / 444.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001488/0.09072, allocations: 63.33 kB / 444.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.874e-06/0.09073, allocations: 7.984 kB / 444.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004592/0.09119, allocations: 181.1 kB / 445.1 MB, free: 2.164 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.09123, allocations: 51.41 kB / 445.1 MB, free: 2.102 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.09135, allocations: 198 kB / 445.3 MB, free: 1.898 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.09137, allocations: 29.7 kB / 445.3 MB, free: 1.863 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.231e-05/0.09141, allocations: 96.14 kB / 445.4 MB, free: 1.766 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.09144, allocations: 27.69 kB / 445.5 MB, free: 1.738 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.09147, allocations: 21.72 kB / 445.5 MB, free: 1.711 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.467e-05/0.09152, allocations: 322.8 kB / 445.8 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.162e-05/0.09158, allocations: 19.98 kB / 445.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.37e-05/0.09164, allocations: 37.7 kB / 445.9 MB, free: 1.324 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.436e-05/0.09174, allocations: 65.64 kB / 445.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.09175, allocations: 0 / 445.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001499/0.0919, allocations: 93.59 kB / 446 MB, free: 1.156 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.09192, allocations: 8 kB / 446 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.09193, allocations: 0 / 446 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.09195, allocations: 0 / 446 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.122e-05/0.09204, allocations: 19.92 kB / 446 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.09205, allocations: 8.031 kB / 446 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.196e-05/0.09209, allocations: 3.938 kB / 446 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.09211, allocations: 4 kB / 446.1 MB, free: 1.113 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.557e-05/0.09218, allocations: 133.7 kB / 446.2 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.0922, allocations: 11.81 kB / 446.2 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.745e-05/0.09225, allocations: 20.7 kB / 446.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.09225, allocations: 0 / 446.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.09226, allocations: 0 / 446.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.09227, allocations: 3.938 kB / 446.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003055/0.09258, allocations: 399.5 kB / 446.6 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.09259, allocations: 0 / 446.6 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.907e-05/0.09263, allocations: 8 kB / 446.6 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.09264, allocations: 3.938 kB / 446.6 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.09265, allocations: 0 / 446.6 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.09266, allocations: 7.938 kB / 446.6 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.09266, allocations: 4.172 kB / 446.6 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.09283, allocations: 204.3 kB / 446.8 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.318e-05/0.09286, allocations: 92.86 kB / 446.9 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.09289, allocations: 3.938 kB / 446.9 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.751e-05/0.09297, allocations: 384 / 446.9 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.09301, allocations: 11.98 kB / 446.9 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.09302, allocations: 4 kB / 446.9 MB, free: 112 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.09313, allocations: 147.2 kB / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09314, allocations: 0 / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.0934, allocations: 20 kB / 447.1 MB, free: 15.95 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.001379/0.09478, allocations: 1.102 MB / 448.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001689/0.09497, allocations: 55.92 kB / 448.3 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.09498, allocations: 0 / 448.3 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.593e-05/0.09506, allocations: 35.92 kB / 448.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.09539, allocations: 26.14 kB / 448.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.09693, allocations: 1.624 MB / 449.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.09718, allocations: 0.7118 MB / 450.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.102e-05/0.09724, allocations: 16.88 kB / 450.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.444e-05/0.0973, allocations: 31.42 kB / 450.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.09731, allocations: 3.938 kB / 450.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01898/0.1163, allocations: 3.302 MB / 454 MB, free: 8.961 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.515/8.631, allocations: 7.922 kB / 454 MB, free: 8.953 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches