Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65",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.001423/0.00143, allocations: 105.6 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.001459/0.001459, allocations: 187.2 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.494/1.494, 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.1982/0.1982, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.001726/0.001726, allocations: 72.02 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09024/0.09198, allocations: 57.79 MB / 440.6 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002592/0.09461, allocations: 1.64 MB / 442.3 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009994/0.09564, allocations: 0.7944 MB / 443.1 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.917e-05/0.09572, allocations: 0 / 443.1 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.09607, allocations: 79.75 kB / 443.1 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.0963, allocations: 79.66 kB / 443.2 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.09653, allocations: 83.77 kB / 443.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.0967, allocations: 103.7 kB / 443.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.861e-05/0.09676, allocations: 4.281 kB / 443.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.223e-05/0.09684, allocations: 47.83 kB / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.04e-05/0.09694, allocations: 55.75 kB / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.09696, allocations: 4 kB / 443.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.087e-05/0.09705, allocations: 32 kB / 443.6 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.701e-05/0.09711, allocations: 23.86 kB / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.336e-05/0.09717, allocations: 31.8 kB / 443.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.09736, allocations: 107.6 kB / 443.7 MB, free: 3.688 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.09737, allocations: 4 kB / 443.7 MB, free: 3.684 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.09738, allocations: 0 / 443.7 MB, free: 3.684 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.09739, allocations: 0 / 443.7 MB, free: 3.684 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004855/0.09788, allocations: 402.9 kB / 444.1 MB, free: 3.242 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.09793, allocations: 15.89 kB / 444.1 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.333e-05/0.09797, allocations: 30.75 kB / 444.2 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.09801, allocations: 12.75 kB / 444.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.09821, allocations: 212.1 kB / 444.4 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.09823, allocations: 8.312 kB / 444.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.09825, allocations: 7.938 kB / 444.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.09839, allocations: 45.67 kB / 444.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.0984, allocations: 0 / 444.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.09842, allocations: 0 / 444.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.09843, allocations: 4 kB / 444.4 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.218e-05/0.09849, allocations: 15.98 kB / 444.5 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.09865, allocations: 177.7 kB / 444.6 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.09881, allocations: 62.5 kB / 444.7 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.12e-05/0.09887, allocations: 20.84 kB / 444.7 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.0989, allocations: 7.984 kB / 444.7 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001425/0.09904, allocations: 67.39 kB / 444.8 MB, free: 2.441 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.693e-06/0.09905, allocations: 0 / 444.8 MB, free: 2.441 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002521/0.09931, allocations: 105.4 kB / 444.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.09935, allocations: 55.41 kB / 444.9 MB, free: 2.266 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.09951, allocations: 215.5 kB / 445.1 MB, free: 2.047 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.09953, allocations: 25.7 kB / 445.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.225e-05/0.09957, allocations: 104.1 kB / 445.3 MB, free: 1.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.0996, allocations: 11.84 kB / 445.3 MB, free: 1.898 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.09963, allocations: 17.72 kB / 445.3 MB, free: 1.875 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.984e-05/0.09968, allocations: 326.8 kB / 445.6 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.64e-05/0.09973, allocations: 19.98 kB / 445.6 MB, free: 1.527 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.478e-05/0.09978, allocations: 25.72 kB / 445.7 MB, free: 1.496 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.024e-05/0.09987, allocations: 41.7 kB / 445.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.09988, allocations: 3.938 kB / 445.7 MB, free: 1.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001261/0.1, allocations: 89.42 kB / 445.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.1, allocations: 8.031 kB / 445.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1, allocations: 0 / 445.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.1001, allocations: 0 / 445.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.808e-05/0.1001, allocations: 12 kB / 445.8 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1001, allocations: 3.938 kB / 445.8 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.032e-05/0.1002, allocations: 0 / 445.8 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.1002, allocations: 4 kB / 445.8 MB, free: 1.324 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 (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 6.225e-05/0.1003, allocations: 137.7 kB / 446 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.1003, allocations: 11.81 kB / 446 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.1003, allocations: 20.98 kB / 446 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1003, allocations: 4 kB / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.1003, allocations: 0 / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1003, allocations: 0 / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.039e-05/0.1004, allocations: 189.6 kB / 446.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1004, allocations: 320 / 446.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.865e-05/0.1005, allocations: 7.984 kB / 446.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1005, allocations: 4 kB / 446.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1005, allocations: 0 / 446.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1005, allocations: 0 / 446.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1005, allocations: 0 / 446.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.1006, allocations: 120.9 kB / 446.3 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.235e-05/0.1007, allocations: 84.92 kB / 446.4 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.1007, allocations: 4 kB / 446.4 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.335e-05/0.1007, allocations: 3.938 kB / 446.4 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.1008, allocations: 7.984 kB / 446.4 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.1008, allocations: 0 / 446.4 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.068e-05/0.1009, allocations: 155.2 kB / 446.6 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1009, allocations: 4 kB / 446.6 MB, free: 500 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.000207/0.1011, allocations: 24 kB / 446.6 MB, free: 476 kB / 318.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.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.00122/0.1023, allocations: 0.9488 MB / 447.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001645/0.1025, allocations: 43.97 kB / 447.6 MB, free: 15.54 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1025, allocations: 4.062 kB / 447.6 MB, free: 15.53 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.814e-05/0.1026, allocations: 19.94 kB / 447.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.1028, allocations: 30 kB / 447.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.1043, allocations: 1.533 MB / 449.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.1045, allocations: 0.7041 MB / 449.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.132e-05/0.1046, allocations: 12.55 kB / 449.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.094e-05/0.1047, allocations: 35.42 kB / 449.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1047, allocations: 0 / 449.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01833/0.123, allocations: 3.103 MB / 453 MB, free: 9.957 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.681/7.804, allocations: 11.94 kB / 453 MB, free: 9.945 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches