Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.0008356/0.0008356, 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.0008673/0.0008673, 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.9039/0.9039, 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.2337/0.2337, allocations: 32.78 MB / 293.5 MB, free: 1.246 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.Test65,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.895e-06/2.895e-06, allocations: 0 / 439.7 MB, free: 4.191 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.908e-05, allocations: 4.109 kB / 439.7 MB, free: 4.188 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002882/0.002911, allocations: 1.673 MB / 441.3 MB, free: 2.496 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.004323, allocations: 0.9684 MB / 442.3 MB, free: 1.523 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.004427, allocations: 0 / 442.3 MB, free: 1.523 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004223/0.004849, allocations: 87.62 kB / 442.4 MB, free: 1.438 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004023/0.005252, allocations: 115.4 kB / 442.5 MB, free: 1.324 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.005477, allocations: 79.66 kB / 442.6 MB, free: 1.246 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.00568, allocations: 107.6 kB / 442.7 MB, free: 1.141 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.454e-05/0.005735, allocations: 8.219 kB / 442.7 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.005857, allocations: 67.81 kB / 442.8 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.00597, allocations: 51.88 kB / 442.8 MB, free: 1.016 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.005989, allocations: 4 kB / 442.8 MB, free: 1.012 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.684e-05/0.006076, allocations: 28 kB / 442.8 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.16e-05/0.006137, allocations: 19.92 kB / 442.9 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.811e-05/0.006186, allocations: 27.84 kB / 442.9 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.006378, allocations: 111.6 kB / 443 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.006381, allocations: 0 / 443 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.006384, allocations: 4 kB / 443 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.006389, allocations: 0 / 443 MB, free: 0.8242 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.0006302/0.007019, allocations: 349.5 kB / 443.3 MB, free: 464 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.007067, allocations: 12.03 kB / 443.4 MB, free: 452 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.141e-05/0.007098, allocations: 30.75 kB / 443.4 MB, free: 412 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.75e-05/0.007136, allocations: 12.84 kB / 443.4 MB, free: 400 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.007381, allocations: 149.5 kB / 443.5 MB, free: 224 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.007396, allocations: 384 / 443.5 MB, free: 224 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.007408, allocations: 8.375 kB / 443.6 MB, free: 216 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.00754, allocations: 53.92 kB / 443.6 MB, free: 156 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.007548, allocations: 7.875 kB / 443.6 MB, free: 148 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.007557, allocations: 4 kB / 443.6 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.007562, allocations: 4 kB / 443.6 MB, free: 140 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.095e-05/0.007613, allocations: 15.98 kB / 443.6 MB, free: 124 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2022/0.2098, allocations: 150.4 kB / 443.8 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.21, allocations: 51.84 kB / 443.8 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.421e-05/0.21, allocations: 20.38 kB / 443.9 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.2101, allocations: 0 / 443.9 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/0.2102, allocations: 69.55 kB / 443.9 MB, free: 46.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 2.154e-06/0.2102, allocations: 0 / 443.9 MB, free: 46.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002404/0.2105, allocations: 100.4 kB / 444 MB, free: 46.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.2105, allocations: 55.03 kB / 444.1 MB, free: 46.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.2106, allocations: 227.9 kB / 444.3 MB, free: 46.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.477e-06/0.2107, allocations: 26.39 kB / 444.3 MB, free: 46.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.2107, allocations: 107 kB / 444.4 MB, free: 46.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.2107, allocations: 12.73 kB / 444.4 MB, free: 46.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.2108, allocations: 23.98 kB / 444.5 MB, free: 46.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.928e-05/0.2108, allocations: 326.8 kB / 444.8 MB, free: 45.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.012e-05/0.2108, allocations: 17.84 kB / 444.8 MB, free: 45.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.323e-05/0.2109, allocations: 30.81 kB / 444.8 MB, free: 45.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.063e-05/0.2109, allocations: 48.42 kB / 444.9 MB, free: 45.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2109, allocations: 2.219 kB / 444.9 MB, free: 45.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.924e-05/0.211, allocations: 84.09 kB / 445 MB, free: 45.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.2111, allocations: 6 kB / 445 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2111, allocations: 0 / 445 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.2111, allocations: 0 / 445 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.612e-05/0.2112, allocations: 9.438 kB / 445 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.2112, allocations: 8.844 kB / 445 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.609e-05/0.2112, allocations: 10.69 kB / 445 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.2112, allocations: 0 / 445 MB, free: 45.71 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 6.147e-05/0.2113, allocations: 133.7 kB / 445.1 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.2113, allocations: 14.28 kB / 445.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.2114, allocations: 100.4 kB / 445.2 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2114, allocations: 0.9375 kB / 445.2 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.2114, allocations: 3.938 kB / 445.2 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2114, allocations: 3.438 kB / 445.2 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.655e-05/0.2115, allocations: 158.6 kB / 445.4 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2115, allocations: 0 / 445.4 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.146e-05/0.2115, allocations: 14.16 kB / 445.4 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2115, allocations: 0 / 445.4 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.2116, allocations: 0 / 445.4 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2116, allocations: 2.938 kB / 445.4 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2116, allocations: 5.438 kB / 445.4 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.394e-05/0.2117, allocations: 115.6 kB / 445.5 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.877e-05/0.2117, allocations: 20.38 kB / 445.6 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.2117, allocations: 3.125 kB / 445.6 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.869e-05/0.2117, allocations: 2.625 kB / 445.6 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.2117, allocations: 9.906 kB / 445.6 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.2118, allocations: 0 / 445.6 MB, free: 45.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.289e-05/0.2118, allocations: 178.1 kB / 445.7 MB, free: 45.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2118, allocations: 2.625 kB / 445.7 MB, free: 45.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001457/0.212, allocations: 16.56 kB / 445.8 MB, free: 45.24 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.000902/0.2129, allocations: 0.9829 MB / 446.7 MB, free: 44.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.213, allocations: 44.69 kB / 446.8 MB, free: 44.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.213, allocations: 0 / 446.8 MB, free: 44.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.465e-05/0.213, allocations: 18.34 kB / 446.8 MB, free: 44.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.2132, allocations: 43.69 kB / 446.8 MB, free: 44.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009522/0.2142, allocations: 1.583 MB / 448.4 MB, free: 43.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.774e-05/0.2142, allocations: 92.06 kB / 448.5 MB, free: 43.28 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.145e-05/0.2143, allocations: 15.06 kB / 448.5 MB, free: 43.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.995e-05/0.2143, allocations: 37.55 kB / 448.6 MB, free: 43.25 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/0.2143, allocations: 4 kB / 448.6 MB, free: 43.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01714/0.2315, allocations: 4.087 MB / 452.7 MB, free: 41.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.664/6.895, allocations: 7.438 kB / 452.7 MB, free: 41.88 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --stepSize=0.00019972 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.856323130428791]