Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001498/0.001498, allocations: 92.27 kB / 20.95 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003308/0.003308, allocations: 152.9 kB / 24.26 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.219/1.219, allocations: 177 MB / 204.5 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3763/0.3763, allocations: 34.25 MB / 295.2 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 376.8 MB, free: 3.348 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.621e-05, allocations: 2.312 kB / 376.8 MB, free: 3.344 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003053/0.00307, allocations: 1.669 MB / 378.5 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.004281, allocations: 0.9697 MB / 379.4 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.989e-05/0.004361, allocations: 8 kB / 379.4 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.004654, allocations: 39.77 kB / 379.5 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.004966, allocations: 111.4 kB / 379.6 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001661/0.005132, allocations: 75.67 kB / 379.7 MB, free: 464 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.005293, allocations: 107.6 kB / 379.8 MB, free: 356 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.592e-05/0.005339, allocations: 8.219 kB / 379.8 MB, free: 348 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.615e-05/0.005425, allocations: 47.83 kB / 379.8 MB, free: 300 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.256e-05/0.005508, allocations: 27.91 kB / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.005527, allocations: 4 kB / 379.8 MB, free: 268 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.034e-05/0.005608, allocations: 35.92 kB / 379.9 MB, free: 232 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.181e-05/0.005669, allocations: 27.86 kB / 379.9 MB, free: 204 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.893e-05/0.005708, allocations: 19.92 kB / 379.9 MB, free: 184 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.005896, allocations: 123.5 kB / 380.1 MB, free: 60 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.005899, allocations: 0 / 380.1 MB, free: 60 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.005899, allocations: 0 / 380.1 MB, free: 60 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.005904, allocations: 4 kB / 380.1 MB, free: 56 kB / 346.7 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.0004779/0.006381, allocations: 365.5 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.006422, allocations: 8.031 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.346e-05/0.006455, allocations: 34.75 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.006499, allocations: 12.84 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.006699, allocations: 162.5 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.006713, allocations: 4.375 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.006726, allocations: 384 / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.006845, allocations: 58.17 kB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.006852, allocations: 4.188 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.006863, allocations: 4.125 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.006869, allocations: 0 / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.809e-05/0.006917, allocations: 15.98 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001632/0.007081, allocations: 160.7 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.007189, allocations: 50.61 kB / 380.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.754e-05/0.007227, allocations: 16.86 kB / 380.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.007242, allocations: 7.938 kB / 380.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001126/0.007355, allocations: 71.38 kB / 381 MB, free: 14.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 7.81e-07/0.007355, allocations: 4 kB / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002084/0.007564, allocations: 109.5 kB / 381.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.0076, allocations: 51.41 kB / 381.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.007785, allocations: 279 kB / 381.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.007796, allocations: 25.7 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.007845, allocations: 116.1 kB / 381.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.007874, allocations: 15.84 kB / 381.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/0.0079, allocations: 17.72 kB / 381.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003813/0.008282, allocations: 330.8 kB / 381.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.367e-05/0.008315, allocations: 12 kB / 381.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.794e-05/0.008353, allocations: 41.69 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.85e-05/0.008412, allocations: 45.7 kB / 382 MB, free: 13.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.008414, allocations: 0 / 382 MB, free: 13.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.459e-05/0.008508, allocations: 89.53 kB / 382.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.008522, allocations: 7.984 kB / 382.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.008528, allocations: 3.938 kB / 382.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.00854, allocations: 0 / 382.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.612e-05/0.008596, allocations: 8 kB / 382.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.008602, allocations: 8.031 kB / 382.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.914e-05/0.008631, allocations: 0 / 382.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.008641, allocations: 11.94 kB / 382.2 MB, free: 13.73 MB / 362.7 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 7.948e-05/0.00872, allocations: 132.1 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.008737, allocations: 19.89 kB / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.008869, allocations: 98.77 kB / 382.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.008871, allocations: 0 / 382.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.008875, allocations: 4 kB / 382.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.008879, allocations: 3.984 kB / 382.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.683e-05/0.008976, allocations: 165.1 kB / 382.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.008977, allocations: 4 kB / 382.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.572e-05/0.008992, allocations: 8 kB / 382.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.008994, allocations: 0 / 382.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.009002, allocations: 11.81 kB / 382.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.009003, allocations: 0 / 382.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.009005, allocations: 0 / 382.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.009109, allocations: 129 kB / 382.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.419e-05/0.009123, allocations: 7.953 kB / 382.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.009142, allocations: 11.92 kB / 382.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.765e-05/0.00916, allocations: 4 kB / 382.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-05/0.009187, allocations: 4 kB / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.0092, allocations: 7.984 kB / 382.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001142/0.009314, allocations: 204.6 kB / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009314, allocations: 0 / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001493/0.009463, allocations: 19.89 kB / 383 MB, free: 12.84 MB / 362.7 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.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0008763/0.01034, allocations: 0.9846 MB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001118/0.01045, allocations: 47.86 kB / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01045, allocations: 0 / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.456e-05/0.01049, allocations: 24.05 kB / 384 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.01067, allocations: 27.61 kB / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.01197, allocations: 1.698 MB / 385.8 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.387e-05/0.01203, allocations: 109.7 kB / 385.9 MB, free: 9.973 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.896e-05/0.01207, allocations: 12.48 kB / 385.9 MB, free: 9.961 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.51e-05/0.01213, allocations: 44.48 kB / 385.9 MB, free: 9.918 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01213, allocations: 0 / 385.9 MB, free: 9.918 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0199/0.03202, allocations: 4.412 MB / 390.3 MB, free: 5.508 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.522/8.554, allocations: 11.94 kB / 390.3 MB, free: 5.496 MB / 362.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_OMSimulator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_OMSimulator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_OMSimulator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_OMSimulator_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61_OMSimulator_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_OMSimulator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_OMSimulator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_OMSimulator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_fmpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_fmpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_fmpy.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_fmpy_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498604 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_fmpy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_fmpy.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: 11.218989389017224]