Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.001618/0.001618, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001449/0.001449, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.516/1.516, allocations: 230.6 MB / 257.5 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2295/0.2295, allocations: 46.94 MB / 360.9 MB, free: 4.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 67.89 kB / 0.4962 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3459, allocations: 66.04 MB / 0.5607 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003985/0.3499, allocations: 1.949 MB / 0.5626 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002086/0.352, allocations: 1.095 MB / 0.5637 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.3521, allocations: 3.938 kB / 0.5637 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000369/0.3525, allocations: 47.7 kB / 0.5637 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003734/0.3528, allocations: 95.47 kB / 0.5638 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.3531, allocations: 95.72 kB / 0.5639 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003337/0.3534, allocations: 155.5 kB / 0.5641 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.3536, allocations: 23.56 kB / 0.5641 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.3537, allocations: 55.72 kB / 0.5641 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.3538, allocations: 55.7 kB / 0.5642 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.3538, allocations: 11.94 kB / 0.5642 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.3539, allocations: 43.98 kB / 0.5642 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.573e-05/0.354, allocations: 27.86 kB / 0.5643 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.057e-05/0.3541, allocations: 59.59 kB / 0.5643 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003294/0.3544, allocations: 155.3 kB / 0.5645 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.3544, allocations: 4 kB / 0.5645 GB, free: 0.582 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.3544, allocations: 4 kB / 0.5645 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.3544, allocations: 0 / 0.5645 GB, free: 0.5781 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007244/0.3552, allocations: 411 kB / 0.5649 GB, free: 144 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.3552, allocations: 12.03 kB / 0.5649 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.316e-05/0.3552, allocations: 38.73 kB / 0.5649 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.3553, allocations: 16.84 kB / 0.5649 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.3556, allocations: 167 kB / 0.5651 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.3557, allocations: 12.38 kB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.3557, allocations: 7.938 kB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.3559, allocations: 112.2 kB / 0.5652 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.356, allocations: 0 / 0.5652 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.356, allocations: 0 / 0.5652 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.356, allocations: 4 kB / 0.5652 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.3561, allocations: 55.84 kB / 0.5653 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006912/0.3568, allocations: 484.1 kB / 0.5657 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.3572, allocations: 94.59 kB / 0.5658 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.838e-05/0.3573, allocations: 32.84 kB / 0.5659 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.3573, allocations: 3.984 kB / 0.5659 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000204/0.3575, allocations: 83.38 kB / 0.5659 GB, free: 14.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.3575, allocations: 3.938 kB / 0.566 GB, free: 14.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004057/0.3579, allocations: 145.5 kB / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.3579, allocations: 59.34 kB / 0.5661 GB, free: 14.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.3582, allocations: 199.5 kB / 0.5663 GB, free: 14.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.3582, allocations: 25.7 kB / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.721e-05/0.3583, allocations: 120.1 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.3583, allocations: 27.75 kB / 0.5665 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-05/0.3584, allocations: 33.64 kB / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3585, allocations: 326.8 kB / 0.5668 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.79e-05/0.3586, allocations: 31.98 kB / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.3587, allocations: 60.27 kB / 0.5669 GB, free: 13.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.3589, allocations: 100.2 kB / 0.567 GB, free: 13.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3589, allocations: 0 / 0.567 GB, free: 13.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002733/0.3592, allocations: 133.5 kB / 0.5672 GB, free: 13.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3592, allocations: 7.984 kB / 0.5672 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3592, allocations: 3.938 kB / 0.5672 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.3592, allocations: 8.062 kB / 0.5672 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.802e-05/0.3593, allocations: 20 kB / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.3593, allocations: 7.984 kB / 0.5672 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.869e-05/0.3594, allocations: 15.89 kB / 0.5672 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.3594, allocations: 4 kB / 0.5672 GB, free: 13.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001178/0.3595, allocations: 140 kB / 0.5674 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.3596, allocations: 15.91 kB / 0.5674 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002861/0.3598, allocations: 127 kB / 0.5675 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3598, allocations: 7.938 kB / 0.5675 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3598, allocations: 0 / 0.5675 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3598, allocations: 0 / 0.5675 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.36, allocations: 184.9 kB / 0.5677 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.36, allocations: 0 / 0.5677 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.309e-05/0.3601, allocations: 15.92 kB / 0.5677 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3601, allocations: 3.938 kB / 0.5677 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.3601, allocations: 8 kB / 0.5677 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.3601, allocations: 3.938 kB / 0.5677 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3601, allocations: 0 / 0.5677 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004065/0.3605, allocations: 180.9 kB / 0.5679 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.963e-05/0.3606, allocations: 11.94 kB / 0.5679 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.3606, allocations: 3.984 kB / 0.5679 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.391e-05/0.3607, allocations: 7.938 kB / 0.5679 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.3607, allocations: 11.98 kB / 0.5679 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.3608, allocations: 8 kB / 0.5679 GB, free: 12.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001453/0.3609, allocations: 147.3 kB / 0.5681 GB, free: 12.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3609, allocations: 0 / 0.5681 GB, free: 12.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002348/0.3611, allocations: 31.92 kB / 0.5681 GB, free: 12.55 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.002101/0.3632, allocations: 1.017 MB / 0.5691 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002562/0.3635, allocations: 79.89 kB / 0.5692 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3635, allocations: 0 / 0.5692 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.3636, allocations: 35.92 kB / 0.5692 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.3639, allocations: 40.03 kB / 0.5692 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.3662, allocations: 1.762 MB / 0.571 GB, free: 9.637 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/0.3667, allocations: 0.7201 MB / 0.5717 GB, free: 8.891 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.232e-05/0.3668, allocations: 17.42 kB / 0.5717 GB, free: 8.875 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.909e-05/0.3669, allocations: 43.42 kB / 0.5717 GB, free: 8.832 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3669, allocations: 3.938 kB / 0.5717 GB, free: 8.828 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03876/0.4056, allocations: 4.02 MB / 0.5756 GB, free: 4.883 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.41, allocations: 3.984 kB / 0.5757 GB, free: 4.879 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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: 14.541885136000928]