Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.0007995/0.0007995, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0009141/0.0009141, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9122/0.9122, allocations: 177.1 MB / 204.2 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.2469/0.2469, allocations: 32.79 MB / 293.5 MB, free: 1.234 MB / 266.7 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.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 439.7 MB, free: 4.188 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.72e-05/1.867e-05, allocations: 6.219 kB / 439.7 MB, free: 4.18 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002423/0.002441, allocations: 1.666 MB / 441.3 MB, free: 2.496 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.003732, allocations: 0.9586 MB / 442.3 MB, free: 1.531 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.92e-05/0.003811, allocations: 4 kB / 442.3 MB, free: 1.527 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003063/0.004118, allocations: 63.67 kB / 442.4 MB, free: 1.465 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002997/0.004417, allocations: 111.5 kB / 442.5 MB, free: 1.355 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.004559, allocations: 75.59 kB / 442.5 MB, free: 1.281 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.004756, allocations: 103.7 kB / 442.6 MB, free: 1.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.583e-05/0.004811, allocations: 8.172 kB / 442.6 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.004928, allocations: 67.75 kB / 442.7 MB, free: 1.105 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.42e-05/0.005023, allocations: 35.91 kB / 442.8 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.00504, allocations: 4 kB / 442.8 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.549e-05/0.005115, allocations: 31.97 kB / 442.8 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.903e-05/0.005174, allocations: 27.92 kB / 442.8 MB, free: 1.008 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.205e-05/0.005217, allocations: 15.94 kB / 442.8 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.005388, allocations: 107.6 kB / 442.9 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.00539, allocations: 0 / 442.9 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.005392, allocations: 0 / 442.9 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.005397, allocations: 0 / 442.9 MB, free: 0.8867 MB / 410.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.0005923/0.005989, allocations: 329.7 kB / 443.3 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.006029, allocations: 12.03 kB / 443.3 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.816e-05/0.006057, allocations: 34.75 kB / 443.3 MB, free: 492 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.00609, allocations: 12.84 kB / 443.3 MB, free: 480 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.006335, allocations: 154.2 kB / 443.5 MB, free: 300 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.006348, allocations: 384 / 443.5 MB, free: 300 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.006358, allocations: 384 / 443.5 MB, free: 300 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.006485, allocations: 57.98 kB / 443.5 MB, free: 236 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.006493, allocations: 3.938 kB / 443.5 MB, free: 232 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.006503, allocations: 0 / 443.5 MB, free: 232 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.006507, allocations: 0 / 443.5 MB, free: 232 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.108e-05/0.006558, allocations: 19.98 kB / 443.5 MB, free: 212 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.006719, allocations: 156.7 kB / 443.7 MB, free: 12 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1949/0.2016, allocations: 54.84 kB / 443.8 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.706e-05/0.2016, allocations: 17.77 kB / 443.8 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.2016, allocations: 7.172 kB / 443.8 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001813/0.2018, allocations: 68.19 kB / 443.8 MB, free: 46.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 2.515e-06/0.2018, allocations: 1.531 kB / 443.8 MB, free: 46.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002387/0.2021, allocations: 96.27 kB / 443.9 MB, free: 46.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.2021, allocations: 51.41 kB / 444 MB, free: 46.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.2022, allocations: 200.6 kB / 444.2 MB, free: 46.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.2022, allocations: 28.77 kB / 444.2 MB, free: 46.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.147e-05/0.2023, allocations: 103 kB / 444.3 MB, free: 46.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.2023, allocations: 19.36 kB / 444.3 MB, free: 46.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/0.2023, allocations: 18.53 kB / 444.3 MB, free: 46.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.507e-05/0.2024, allocations: 327.3 kB / 444.7 MB, free: 45.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.555e-05/0.2024, allocations: 14.36 kB / 444.7 MB, free: 45.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.007e-05/0.2024, allocations: 36.34 kB / 444.7 MB, free: 45.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.491e-05/0.2025, allocations: 49.97 kB / 444.8 MB, free: 45.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2025, allocations: 0 / 444.8 MB, free: 45.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.463e-05/0.2026, allocations: 84.86 kB / 444.9 MB, free: 45.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.2026, allocations: 7.625 kB / 444.9 MB, free: 45.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2026, allocations: 0 / 444.9 MB, free: 45.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.2026, allocations: 2.656 kB / 444.9 MB, free: 45.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.367e-05/0.2027, allocations: 11.27 kB / 444.9 MB, free: 45.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.2027, allocations: 0 / 444.9 MB, free: 45.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.508e-05/0.2027, allocations: 12.25 kB / 444.9 MB, free: 45.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.2027, allocations: 2.844 kB / 444.9 MB, free: 45.82 MB / 410.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 5.738e-05/0.2028, allocations: 131 kB / 445 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/0.2028, allocations: 10.48 kB / 445 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.2029, allocations: 95.11 kB / 445.1 MB, free: 45.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2029, allocations: 0 / 445.1 MB, free: 45.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2029, allocations: 0 / 445.1 MB, free: 45.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2029, allocations: 3.062 kB / 445.1 MB, free: 45.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.657e-05/0.203, allocations: 164.5 kB / 445.3 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.203, allocations: 3.688 kB / 445.3 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-05/0.203, allocations: 4.406 kB / 445.3 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.203, allocations: 6.109 kB / 445.3 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.203, allocations: 3.312 kB / 445.3 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.203, allocations: 3.75 kB / 445.3 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.203, allocations: 1.5 kB / 445.3 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.414e-05/0.2031, allocations: 113.2 kB / 445.4 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.624e-05/0.2031, allocations: 13.78 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.2032, allocations: 7.062 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.936e-05/0.2032, allocations: 6.5 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-05/0.2032, allocations: 6.656 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.2032, allocations: 0 / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.723e-05/0.2033, allocations: 156.3 kB / 445.6 MB, free: 45.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2033, allocations: 0 / 445.6 MB, free: 45.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000141/0.2034, allocations: 18.38 kB / 445.6 MB, free: 45.36 MB / 410.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.0007665/0.2042, allocations: 0.9925 MB / 446.6 MB, free: 44.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001115/0.2043, allocations: 44.61 kB / 446.7 MB, free: 44.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.2043, allocations: 0 / 446.7 MB, free: 44.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.371e-05/0.2043, allocations: 21.58 kB / 446.7 MB, free: 44.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.2045, allocations: 24.5 kB / 446.7 MB, free: 44.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008872/0.2054, allocations: 1.53 MB / 448.2 MB, free: 43.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.536e-05/0.2054, allocations: 99.72 kB / 448.3 MB, free: 43.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.326e-05/0.2055, allocations: 14.95 kB / 448.3 MB, free: 43.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.492e-05/0.2055, allocations: 33.56 kB / 448.4 MB, free: 43.4 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.2055, allocations: 0 / 448.4 MB, free: 43.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.015/0.2205, allocations: 3.977 MB / 452.4 MB, free: 42.03 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.607/6.827, allocations: 6.594 kB / 452.4 MB, free: 42.03 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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: 8.806907172314823]