Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001851/0.001851, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001526/0.001526, allocations: 208.9 kB / 23.73 MB, free: 4.387 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.43/1.43, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.218/0.218, allocations: 44.93 MB / 358.8 MB, free: 6.027 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 71.91 kB / 0.4931 GB, free: 10.44 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3511, allocations: 65.47 MB / 0.557 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003784/0.3549, allocations: 1.784 MB / 0.5588 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002901/0.3578, allocations: 1.724 MB / 0.5604 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.3579, allocations: 7.938 kB / 0.5605 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003075/0.3582, allocations: 51.69 kB / 0.5605 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004138/0.3586, allocations: 143.4 kB / 0.5606 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.3589, allocations: 107.6 kB / 0.5607 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000289/0.3592, allocations: 215.3 kB / 0.5609 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.427e-05/0.3592, allocations: 5.812 kB / 0.561 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.3594, allocations: 87.62 kB / 0.561 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.3595, allocations: 78.23 kB / 0.5611 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.3596, allocations: 8 kB / 0.5611 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001982/0.3598, allocations: 115.9 kB / 0.5612 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.832e-05/0.3598, allocations: 27.86 kB / 0.5613 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.147e-05/0.3599, allocations: 59.66 kB / 0.5613 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003453/0.3603, allocations: 228.9 kB / 0.5615 GB, free: 2.832 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3603, allocations: 0 / 0.5615 GB, free: 2.832 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3603, allocations: 0 / 0.5615 GB, free: 2.832 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.3603, allocations: 0 / 0.5615 GB, free: 2.832 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006882/0.361, allocations: 434.6 kB / 0.5619 GB, free: 2.379 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.361, allocations: 8.031 kB / 0.562 GB, free: 2.371 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.01e-05/0.3611, allocations: 42.73 kB / 0.562 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.54e-05/0.3611, allocations: 20.78 kB / 0.562 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004097/0.3615, allocations: 198 kB / 0.5622 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.3615, allocations: 4.375 kB / 0.5622 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.3616, allocations: 7.938 kB / 0.5622 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.3618, allocations: 148.5 kB / 0.5624 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3618, allocations: 0 / 0.5624 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.3618, allocations: 3.984 kB / 0.5624 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3618, allocations: 0 / 0.5624 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.362, allocations: 35.92 kB / 0.5624 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000243/0.3622, allocations: 177.7 kB / 0.5626 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.3625, allocations: 117.1 kB / 0.5627 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.805e-05/0.3626, allocations: 41.69 kB / 0.5627 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.3626, allocations: 4 kB / 0.5627 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002372/0.3628, allocations: 109.1 kB / 0.5628 GB, free: 1.328 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.3628, allocations: 0 / 0.5628 GB, free: 1.328 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004708/0.3633, allocations: 177.9 kB / 0.563 GB, free: 1.148 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.446e-05/0.3634, allocations: 140.4 kB / 0.5631 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003168/0.3637, allocations: 248.1 kB / 0.5634 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.3638, allocations: 29.7 kB / 0.5634 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.89e-05/0.3638, allocations: 116.1 kB / 0.5635 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.607e-05/0.3639, allocations: 39.72 kB / 0.5635 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.036e-05/0.364, allocations: 29.66 kB / 0.5636 GB, free: 0.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.3641, allocations: 330.8 kB / 0.5639 GB, free: 172 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.622e-05/0.3642, allocations: 27.98 kB / 0.5639 GB, free: 144 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.3644, allocations: 128.5 kB / 0.564 GB, free: 15.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.3646, allocations: 99.38 kB / 0.5641 GB, free: 15.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.3646, allocations: 3.938 kB / 0.5641 GB, free: 15.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002919/0.3649, allocations: 137.5 kB / 0.5643 GB, free: 15.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3649, allocations: 6.812 kB / 0.5643 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3649, allocations: 3.984 kB / 0.5643 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.092e-05/0.3649, allocations: 4 kB / 0.5643 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.3651, allocations: 19.94 kB / 0.5643 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.3651, allocations: 4 kB / 0.5643 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.521e-05/0.3652, allocations: 16 kB / 0.5643 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.3652, allocations: 11.98 kB / 0.5643 GB, free: 15.67 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001404/0.3653, allocations: 134.3 kB / 0.5645 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/0.3654, allocations: 19.84 kB / 0.5645 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003679/0.3657, allocations: 166.9 kB / 0.5646 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3657, allocations: 0 / 0.5646 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.3657, allocations: 4 kB / 0.5646 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3657, allocations: 0 / 0.5646 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.3659, allocations: 188.5 kB / 0.5648 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.366, allocations: 4 kB / 0.5648 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.396e-05/0.366, allocations: 15.94 kB / 0.5648 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.366, allocations: 3.984 kB / 0.5648 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.366, allocations: 0 / 0.5648 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.366, allocations: 4 kB / 0.5648 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.366, allocations: 0 / 0.5648 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003266/0.3663, allocations: 189.7 kB / 0.565 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.3664, allocations: 15.86 kB / 0.565 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.065e-05/0.3664, allocations: 8 kB / 0.565 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.477e-05/0.3665, allocations: 7.984 kB / 0.5651 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.3665, allocations: 19.92 kB / 0.5651 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.3666, allocations: 4 kB / 0.5651 GB, free: 14.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001939/0.3667, allocations: 185.8 kB / 0.5653 GB, free: 14.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3667, allocations: 0 / 0.5653 GB, free: 14.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000291/0.367, allocations: 51.88 kB / 0.5653 GB, free: 14.58 MB / 414.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002415/0.3695, allocations: 1.15 MB / 0.5664 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002724/0.3697, allocations: 91.95 kB / 0.5665 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3697, allocations: 4 kB / 0.5665 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.3698, allocations: 44.09 kB / 0.5666 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.3702, allocations: 61.17 kB / 0.5666 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.3725, allocations: 1.912 MB / 0.5685 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.875e-05/0.3726, allocations: 115.4 kB / 0.5686 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001048/0.3727, allocations: 25.47 kB / 0.5686 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.3728, allocations: 59.41 kB / 0.5687 GB, free: 11.2 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3728, allocations: 0 / 0.5687 GB, free: 11.2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0329/0.4057, allocations: 6.226 MB / 0.5748 GB, free: 5.043 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.96, allocations: 10.72 kB / 0.5748 GB, free: 5.035 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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: 15.083130587823689]