Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test85",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.001485/0.001485, allocations: 102.9 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.001696/0.001696, 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.377/1.377, 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.2004/0.2004, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.001426/0.001426, allocations: 74.5 kB / 382.8 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08283/0.08427, allocations: 57.79 MB / 440.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002504/0.08681, allocations: 1.636 MB / 442.3 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008893/0.08771, allocations: 0.7866 MB / 443.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.669e-05/0.08778, allocations: 3.938 kB / 443.1 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002696/0.08807, allocations: 59.8 kB / 443.1 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001777/0.08826, allocations: 55.75 kB / 443.2 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.08845, allocations: 87.7 kB / 443.3 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.08858, allocations: 95.69 kB / 443.4 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.939e-05/0.08863, allocations: 4.281 kB / 443.4 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.651e-05/0.0887, allocations: 43.84 kB / 443.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.512e-05/0.08878, allocations: 43.77 kB / 443.4 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.08881, allocations: 4 kB / 443.4 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.867e-05/0.08888, allocations: 24 kB / 443.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.344e-05/0.08893, allocations: 19.97 kB / 443.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.06e-05/0.08897, allocations: 31.75 kB / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.08911, allocations: 91.66 kB / 443.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.08912, allocations: 0 / 443.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.08913, allocations: 0 / 443.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.08914, allocations: 0 / 443.6 MB, free: 3.793 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.0003631/0.08951, allocations: 407 kB / 444 MB, free: 3.348 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.08954, allocations: 11.89 kB / 444 MB, free: 3.336 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.143e-05/0.08957, allocations: 30.75 kB / 444 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.021e-05/0.08961, allocations: 16.75 kB / 444.1 MB, free: 3.281 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.08976, allocations: 206.2 kB / 444.3 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.186e-06/0.08978, allocations: 4.375 kB / 444.3 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.08979, allocations: 7.938 kB / 444.3 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.08991, allocations: 49.61 kB / 444.3 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.08993, allocations: 0 / 444.3 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.08994, allocations: 0 / 444.3 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.08995, allocations: 0 / 444.3 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.725e-05/0.09001, allocations: 15.98 kB / 444.3 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001154/0.09013, allocations: 185.6 kB / 444.5 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.09027, allocations: 50.56 kB / 444.6 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.424e-05/0.09032, allocations: 20.84 kB / 444.6 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.09035, allocations: 7.938 kB / 444.6 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001391/0.09049, allocations: 75.33 kB / 444.7 MB, free: 2.555 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.0905, allocations: 0 / 444.7 MB, free: 2.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002202/0.09072, allocations: 89.58 kB / 444.8 MB, free: 2.461 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.033e-05/0.09075, allocations: 55.41 kB / 444.8 MB, free: 2.395 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.09086, allocations: 170.1 kB / 445 MB, free: 2.219 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.09088, allocations: 29.69 kB / 445 MB, free: 2.184 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.66e-05/0.09091, allocations: 96.14 kB / 445.1 MB, free: 2.086 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.09094, allocations: 15.75 kB / 445.1 MB, free: 2.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.09097, allocations: 25.7 kB / 445.1 MB, free: 2.039 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.879e-05/0.09102, allocations: 322.8 kB / 445.5 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.358e-05/0.09107, allocations: 12 kB / 445.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.377e-05/0.09112, allocations: 29.7 kB / 445.5 MB, free: 1.668 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.856e-05/0.0912, allocations: 45.7 kB / 445.5 MB, free: 1.617 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.09121, allocations: 3.938 kB / 445.6 MB, free: 1.613 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001251/0.09134, allocations: 81.53 kB / 445.6 MB, free: 1.527 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.09136, allocations: 9.188 kB / 445.6 MB, free: 1.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.09137, allocations: 4 kB / 445.6 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.09138, allocations: 0 / 445.6 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.276e-05/0.09145, allocations: 8 kB / 445.7 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.09146, allocations: 3.984 kB / 445.7 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.005e-05/0.09151, allocations: 4 kB / 445.7 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.09152, allocations: 0 / 445.7 MB, free: 1.5 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 5.883e-05/0.09158, allocations: 141.7 kB / 445.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.0916, allocations: 7.906 kB / 445.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.87e-05/0.09164, allocations: 12.3 kB / 445.8 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.09164, allocations: 4 kB / 445.8 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.09165, allocations: 0 / 445.8 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.09166, allocations: 0 / 445.8 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.797e-05/0.09174, allocations: 189.5 kB / 446 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.09175, allocations: 320 / 446 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.837e-05/0.09177, allocations: 4 kB / 446 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.09178, allocations: 7.984 kB / 446 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.09179, allocations: 4 kB / 446 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.09179, allocations: 4.156 kB / 446 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.0918, allocations: 0 / 446 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.09195, allocations: 112.9 kB / 446.1 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.067e-05/0.09199, allocations: 81.02 kB / 446.2 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.09201, allocations: 7.938 kB / 446.2 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.41e-05/0.09205, allocations: 0 / 446.2 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-05/0.09208, allocations: 11.98 kB / 446.2 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.0921, allocations: 4 kB / 446.2 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.537e-05/0.09217, allocations: 131.2 kB / 446.4 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09218, allocations: 0 / 446.4 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002052/0.09239, allocations: 20 kB / 446.4 MB, free: 0.6758 MB / 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.001067/0.09346, allocations: 0.954 MB / 447.3 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001549/0.09363, allocations: 51.91 kB / 447.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.09364, allocations: 0 / 447.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.674e-05/0.0937, allocations: 16 kB / 447.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.09395, allocations: 27.91 kB / 447.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.09531, allocations: 1.438 MB / 448.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.09555, allocations: 0.6963 MB / 449.6 MB, free: 13.44 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.686e-05/0.09561, allocations: 16.41 kB / 449.6 MB, free: 13.42 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.673e-05/0.09566, allocations: 23.44 kB / 449.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.09567, allocations: 8 kB / 449.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/0.1137, allocations: 2.943 MB / 452.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.33/7.444, allocations: 15.62 kB / 452.6 MB, free: 10.41 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches