Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.001128/0.001128, 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.0009505/0.0009505, allocations: 170 kB / 23.95 MB, free: 0.6055 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.9101/0.9101, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.255/0.255, 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.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 439.7 MB, free: 4.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.61e-05/2.819e-05, allocations: 4.391 kB / 439.7 MB, free: 4.176 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002857/0.002885, allocations: 1.673 MB / 441.3 MB, free: 2.484 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.004163, allocations: 0.9547 MB / 442.3 MB, free: 1.523 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.004267, allocations: 3.938 kB / 442.3 MB, free: 1.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003447/0.004612, allocations: 59.73 kB / 442.4 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003699/0.004982, allocations: 115.5 kB / 442.5 MB, free: 1.348 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.005205, allocations: 79.59 kB / 442.5 MB, free: 1.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.005398, allocations: 107.7 kB / 442.7 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.09e-05/0.005449, allocations: 8.172 kB / 442.7 MB, free: 1.156 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.005555, allocations: 59.77 kB / 442.7 MB, free: 1.098 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.005662, allocations: 43.89 kB / 442.8 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.005679, allocations: 4 kB / 442.8 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.551e-05/0.005765, allocations: 27.98 kB / 442.8 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.977e-05/0.005825, allocations: 19.92 kB / 442.8 MB, free: 1.004 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.204e-05/0.005867, allocations: 23.86 kB / 442.8 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.00605, allocations: 111.6 kB / 442.9 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.006052, allocations: 0 / 442.9 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.006053, allocations: 0 / 442.9 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.006058, allocations: 0 / 442.9 MB, free: 0.8711 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.0004576/0.006515, allocations: 333.6 kB / 443.3 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.006556, allocations: 8.031 kB / 443.3 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.288e-05/0.006589, allocations: 34.75 kB / 443.3 MB, free: 476 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.81e-05/0.006627, allocations: 12.84 kB / 443.3 MB, free: 464 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.006843, allocations: 142.3 kB / 443.5 MB, free: 296 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.006857, allocations: 8.375 kB / 443.5 MB, free: 288 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.006868, allocations: 384 / 443.5 MB, free: 288 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.006998, allocations: 53.98 kB / 443.5 MB, free: 228 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.007007, allocations: 7.922 kB / 443.5 MB, free: 220 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.007018, allocations: 4 kB / 443.5 MB, free: 216 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.007023, allocations: 0 / 443.5 MB, free: 216 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.455e-05/0.007077, allocations: 19.92 kB / 443.6 MB, free: 196 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2037/0.2108, allocations: 156.7 kB / 443.7 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.211, allocations: 53.95 kB / 443.8 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.662e-05/0.211, allocations: 21.3 kB / 443.8 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.211, allocations: 0.9844 kB / 443.8 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001299/0.2111, allocations: 70.12 kB / 443.9 MB, free: 46.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.834e-06/0.2112, allocations: 0 / 443.9 MB, free: 46.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002187/0.2114, allocations: 101.1 kB / 443.9 MB, free: 46.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.2114, allocations: 53.75 kB / 444 MB, free: 46.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.2115, allocations: 200.6 kB / 444.2 MB, free: 46.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.2115, allocations: 26.7 kB / 444.2 MB, free: 46.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.123e-05/0.2116, allocations: 102.7 kB / 444.3 MB, free: 46.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.2116, allocations: 16.95 kB / 444.3 MB, free: 46.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.2116, allocations: 22.2 kB / 444.4 MB, free: 46.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.38e-05/0.2117, allocations: 322.3 kB / 444.7 MB, free: 45.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.457e-05/0.2117, allocations: 15.06 kB / 444.7 MB, free: 45.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.139e-05/0.2117, allocations: 32.77 kB / 444.7 MB, free: 45.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.581e-05/0.2118, allocations: 49.98 kB / 444.8 MB, free: 45.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2118, allocations: 0 / 444.8 MB, free: 45.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.894e-05/0.2119, allocations: 87.19 kB / 444.9 MB, free: 45.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.2119, allocations: 5.375 kB / 444.9 MB, free: 45.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2119, allocations: 3.094 kB / 444.9 MB, free: 45.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.2119, allocations: 3.094 kB / 444.9 MB, free: 45.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.017e-05/0.212, allocations: 14.28 kB / 444.9 MB, free: 45.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.212, allocations: 3.062 kB / 444.9 MB, free: 45.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.568e-05/0.212, allocations: 6 kB / 444.9 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.212, allocations: 3.031 kB / 444.9 MB, free: 45.81 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.533e-05/0.2121, allocations: 123.3 kB / 445 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.2121, allocations: 11.2 kB / 445 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.2122, allocations: 96.42 kB / 445.1 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.2122, allocations: 2.719 kB / 445.1 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.2122, allocations: 0.5625 kB / 445.1 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.2123, allocations: 3.281 kB / 445.1 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.2124, allocations: 164.6 kB / 445.3 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2124, allocations: 0 / 445.3 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.004e-05/0.2124, allocations: 9.094 kB / 445.3 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.2124, allocations: 3.688 kB / 445.3 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.2124, allocations: 1.625 kB / 445.3 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.2124, allocations: 1.062 kB / 445.3 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2124, allocations: 4.375 kB / 445.3 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.045e-05/0.2125, allocations: 115.6 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.297e-05/0.2125, allocations: 14.78 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.2125, allocations: 3.125 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.723e-05/0.2125, allocations: 2.906 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.2126, allocations: 6.156 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.2126, allocations: 2.719 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.05e-05/0.2126, allocations: 162.8 kB / 445.6 MB, free: 45.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2126, allocations: 0 / 445.6 MB, free: 45.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001413/0.2128, allocations: 18.25 kB / 445.6 MB, free: 45.35 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.0008077/0.2136, allocations: 0.9779 MB / 446.6 MB, free: 44.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.2137, allocations: 53.41 kB / 446.7 MB, free: 44.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.2137, allocations: 0 / 446.7 MB, free: 44.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.068e-05/0.2137, allocations: 19.16 kB / 446.7 MB, free: 44.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.2139, allocations: 22.69 kB / 446.7 MB, free: 44.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.215, allocations: 1.531 MB / 448.2 MB, free: 43.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.95e-05/0.215, allocations: 95.81 kB / 448.3 MB, free: 43.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.072e-05/0.2151, allocations: 18.28 kB / 448.3 MB, free: 43.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.651e-05/0.2151, allocations: 33.69 kB / 448.4 MB, free: 43.39 MB / 410.7 MB Notification: Performance of SimCode: time 7.82e-07/0.2151, allocations: 0 / 448.4 MB, free: 43.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.2305, allocations: 3.98 MB / 452.4 MB, free: 42.03 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.57/6.8, allocations: 9.922 kB / 452.4 MB, free: 42.02 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.841882306151092]