Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.0008617/0.0008617, allocations: 83.69 kB / 20.67 MB, free: 3.891 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.0008334/0.0008334, allocations: 170 kB / 23.95 MB, free: 0.6172 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.924/0.924, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.2697/0.2697, allocations: 32.79 MB / 293.5 MB, free: 1.199 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.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 439.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.511e-05, allocations: 6.219 kB / 439.7 MB, free: 4.156 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002731/0.002757, allocations: 1.663 MB / 441.3 MB, free: 2.477 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.004234, allocations: 0.9625 MB / 442.3 MB, free: 1.508 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.004338, allocations: 0 / 442.3 MB, free: 1.508 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.004672, allocations: 51.69 kB / 442.3 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000319/0.004991, allocations: 107.5 kB / 442.4 MB, free: 1.352 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.00514, allocations: 75.67 kB / 442.5 MB, free: 1.277 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.005306, allocations: 111.6 kB / 442.6 MB, free: 1.168 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.096e-05/0.005347, allocations: 4.234 kB / 442.6 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.39e-05/0.005441, allocations: 55.83 kB / 442.7 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.794e-05/0.005529, allocations: 39.83 kB / 442.7 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.005543, allocations: 4 kB / 442.7 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.418e-05/0.005617, allocations: 35.92 kB / 442.8 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.274e-05/0.00567, allocations: 19.92 kB / 442.8 MB, free: 1.012 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.746e-05/0.005707, allocations: 19.92 kB / 442.8 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.005875, allocations: 99.64 kB / 442.9 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.005878, allocations: 7.938 kB / 442.9 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.00588, allocations: 0 / 442.9 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.005886, 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.0004499/0.006336, allocations: 329.7 kB / 443.2 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.00638, allocations: 8.031 kB / 443.2 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.006414, allocations: 34.73 kB / 443.3 MB, free: 496 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.006449, allocations: 12.89 kB / 443.3 MB, free: 484 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.006699, allocations: 150.2 kB / 443.4 MB, free: 308 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.006711, allocations: 4.312 kB / 443.4 MB, free: 304 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.006722, allocations: 4.375 kB / 443.4 MB, free: 300 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.006859, allocations: 57.98 kB / 443.5 MB, free: 236 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.006869, allocations: 7.938 kB / 443.5 MB, free: 228 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.006878, allocations: 0 / 443.5 MB, free: 228 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.006883, allocations: 0 / 443.5 MB, free: 228 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.139e-05/0.006935, allocations: 15.98 kB / 443.5 MB, free: 212 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.007102, allocations: 144.8 kB / 443.7 MB, free: 24 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1951/0.2022, allocations: 51.03 kB / 443.7 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.291e-05/0.2022, allocations: 21.72 kB / 443.7 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.2022, allocations: 0.6875 kB / 443.7 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001382/0.2024, allocations: 67.75 kB / 443.8 MB, free: 46.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.633e-06/0.2024, allocations: 0.7188 kB / 443.8 MB, free: 46.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002082/0.2026, allocations: 102.8 kB / 443.9 MB, free: 46.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.2026, allocations: 51.41 kB / 444 MB, free: 46.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.2027, allocations: 183.2 kB / 444.1 MB, free: 46.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.245e-06/0.2027, allocations: 29.61 kB / 444.2 MB, free: 46.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.014e-05/0.2028, allocations: 101.1 kB / 444.3 MB, free: 46.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.2028, allocations: 17.42 kB / 444.3 MB, free: 46.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.2028, allocations: 27.05 kB / 444.3 MB, free: 46.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.488e-05/0.2029, allocations: 324.9 kB / 444.6 MB, free: 45.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.848e-05/0.2029, allocations: 15.28 kB / 444.6 MB, free: 45.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.395e-05/0.2029, allocations: 35.16 kB / 444.7 MB, free: 45.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.818e-05/0.203, allocations: 46.5 kB / 444.7 MB, free: 45.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.203, allocations: 2.625 kB / 444.7 MB, free: 45.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.451e-05/0.2031, allocations: 87.02 kB / 444.8 MB, free: 45.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2031, allocations: 5.656 kB / 444.8 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.2031, allocations: 0 / 444.8 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.2031, allocations: 2.938 kB / 444.8 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.553e-05/0.2031, allocations: 8.844 kB / 444.8 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.2031, allocations: 0 / 444.8 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.077e-05/0.2032, allocations: 14.34 kB / 444.8 MB, free: 45.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.2032, allocations: 9.406 kB / 444.8 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.083e-05/0.2032, allocations: 123.2 kB / 445 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.2032, allocations: 12.97 kB / 445 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.2034, allocations: 98 kB / 445.1 MB, free: 45.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.2034, allocations: 0 / 445.1 MB, free: 45.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2034, allocations: 0 / 445.1 MB, free: 45.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2034, allocations: 0 / 445.1 MB, free: 45.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.979e-05/0.2034, allocations: 155.8 kB / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2034, allocations: 2.719 kB / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.42e-05/0.2035, allocations: 6.531 kB / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.2035, allocations: 0 / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.2035, allocations: 2.594 kB / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2035, allocations: 3.234 kB / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2035, allocations: 4.5 kB / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.799e-05/0.2035, allocations: 119.7 kB / 445.4 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.394e-05/0.2036, allocations: 9.422 kB / 445.4 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.2036, allocations: 7 kB / 445.4 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.721e-05/0.2036, allocations: 5.969 kB / 445.4 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/0.2036, allocations: 3.281 kB / 445.4 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.2036, allocations: 2.875 kB / 445.4 MB, free: 45.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.262e-05/0.2037, allocations: 142.5 kB / 445.5 MB, free: 45.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2037, allocations: 0 / 445.5 MB, free: 45.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001415/0.2038, allocations: 19.58 kB / 445.5 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.0007861/0.2046, allocations: 0.994 MB / 446.5 MB, free: 44.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.843e-05/0.2047, allocations: 42.47 kB / 446.6 MB, free: 44.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2047, allocations: 0 / 446.6 MB, free: 44.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.225e-05/0.2047, allocations: 29.34 kB / 446.6 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.0001705/0.2049, allocations: 20.81 kB / 446.6 MB, free: 44.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007943/0.2057, allocations: 1.501 MB / 448.1 MB, free: 43.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.887e-05/0.2057, allocations: 94.14 kB / 448.2 MB, free: 43.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.085e-05/0.2058, allocations: 11.75 kB / 448.2 MB, free: 43.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.921e-05/0.2058, allocations: 33.55 kB / 448.3 MB, free: 43.41 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2058, allocations: 0 / 448.3 MB, free: 43.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01462/0.2204, allocations: 3.927 MB / 452.2 MB, free: 42.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.516/6.736, allocations: 3.375 kB / 452.2 MB, free: 42.05 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --stepSize=0.00059952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.766405616886914]