Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.001739/0.001739, allocations: 115.6 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002042/0.002042, allocations: 213.6 kB / 23.75 MB, free: 4.668 MB / 14.72 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 1.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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.2297/0.2297, allocations: 44.91 MB / 358.8 MB, free: 6.285 MB / 286.1 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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002863/0.002863, allocations: 63.91 kB / 0.4932 GB, free: 10.65 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4317/0.4346, allocations: 65.46 MB / 0.5571 GB, free: 7.414 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003274/0.4379, allocations: 1.749 MB / 0.5588 GB, free: 5.883 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.4397, allocations: 1.042 MB / 0.5598 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.841e-05/0.4398, allocations: 7.938 kB / 0.5598 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003424/0.4401, allocations: 51.75 kB / 0.5599 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.4405, allocations: 99.53 kB / 0.56 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.4407, allocations: 83.66 kB / 0.56 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.4409, allocations: 95.7 kB / 0.5601 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.441, allocations: 13.81 kB / 0.5601 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.4411, allocations: 47.73 kB / 0.5602 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.886e-05/0.4412, allocations: 43.77 kB / 0.5602 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.4412, allocations: 4 kB / 0.5602 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.556e-05/0.4413, allocations: 39.98 kB / 0.5603 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.036e-05/0.4413, allocations: 27.91 kB / 0.5603 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.777e-05/0.4414, allocations: 31.75 kB / 0.5603 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.4416, allocations: 127.4 kB / 0.5605 GB, free: 4.176 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4416, allocations: 4 kB / 0.5605 GB, free: 4.172 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4416, allocations: 0 / 0.5605 GB, free: 4.172 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.4416, allocations: 0 / 0.5605 GB, free: 4.172 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000623/0.4423, allocations: 349.5 kB / 0.5608 GB, free: 3.801 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.4423, allocations: 8.031 kB / 0.5608 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.734e-05/0.4423, allocations: 34.73 kB / 0.5608 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/0.4424, allocations: 12.89 kB / 0.5608 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.4427, allocations: 166.2 kB / 0.561 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.4427, allocations: 384 / 0.561 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.4428, allocations: 11.88 kB / 0.561 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.4429, allocations: 53.67 kB / 0.5611 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.4429, allocations: 0 / 0.5611 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.443, allocations: 0 / 0.5611 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.443, allocations: 0 / 0.5611 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.763e-05/0.443, allocations: 19.98 kB / 0.5611 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004061/0.4434, allocations: 267.9 kB / 0.5613 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.4436, allocations: 54.61 kB / 0.5614 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.948e-05/0.4437, allocations: 20.84 kB / 0.5614 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.4437, allocations: 0 / 0.5614 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.4439, allocations: 75.39 kB / 0.5615 GB, free: 2.984 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.4439, allocations: 0 / 0.5615 GB, free: 2.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000581/0.4445, allocations: 181.3 kB / 0.5617 GB, free: 2.801 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.4445, allocations: 51.41 kB / 0.5617 GB, free: 2.738 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.4447, allocations: 218.6 kB / 0.5619 GB, free: 2.512 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.4448, allocations: 25.7 kB / 0.5619 GB, free: 2.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.073e-05/0.4448, allocations: 112.1 kB / 0.562 GB, free: 2.367 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.4449, allocations: 27.77 kB / 0.5621 GB, free: 2.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.4449, allocations: 25.72 kB / 0.5621 GB, free: 2.309 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.4451, allocations: 326.8 kB / 0.5624 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.629e-05/0.4451, allocations: 23.92 kB / 0.5624 GB, free: 1.957 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.006e-05/0.4452, allocations: 37.64 kB / 0.5625 GB, free: 1.914 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.4453, allocations: 57.72 kB / 0.5625 GB, free: 1.852 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4453, allocations: 4 kB / 0.5625 GB, free: 1.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001853/0.4455, allocations: 101.5 kB / 0.5626 GB, free: 1.742 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.4455, allocations: 8 kB / 0.5626 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.4455, allocations: 0 / 0.5626 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.4456, allocations: 0 / 0.5626 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.745e-05/0.4457, allocations: 19.98 kB / 0.5626 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.4457, allocations: 4 kB / 0.5627 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.475e-05/0.4457, allocations: 3.938 kB / 0.5627 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.4457, allocations: 4 kB / 0.5627 GB, free: 1.703 MB / 398.1 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 (10): * Single equations (assignments): 10 * 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 0.0001097/0.4458, allocations: 133.8 kB / 0.5628 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.4459, allocations: 15.91 kB / 0.5628 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000262/0.4461, allocations: 119.1 kB / 0.5629 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.4461, allocations: 4 kB / 0.5629 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4461, allocations: 0 / 0.5629 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.4461, allocations: 7.922 kB / 0.5629 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004619/0.4466, allocations: 362.4 kB / 0.5633 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4466, allocations: 4.031 kB / 0.5633 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.309e-05/0.4466, allocations: 11.94 kB / 0.5633 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.4466, allocations: 7.922 kB / 0.5633 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.4466, allocations: 4 kB / 0.5633 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.4466, allocations: 0 / 0.5633 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4466, allocations: 0 / 0.5633 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.4469, allocations: 204.3 kB / 0.5635 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.4469, allocations: 11.95 kB / 0.5635 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.4469, allocations: 8.312 kB / 0.5635 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.779e-05/0.447, allocations: 3.984 kB / 0.5635 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.447, allocations: 8 kB / 0.5635 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.4471, allocations: 11.98 kB / 0.5635 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001409/0.4472, allocations: 152.3 kB / 0.5637 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4472, allocations: 0 / 0.5637 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.4475, allocations: 23.94 kB / 0.5637 GB, free: 0.5391 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.002185/0.4496, allocations: 1.1 MB / 0.5648 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001987/0.4498, allocations: 63.89 kB / 0.5648 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4498, allocations: 0 / 0.5648 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.812e-05/0.4499, allocations: 27.92 kB / 0.5649 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.4502, allocations: 27.98 kB / 0.5649 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.4522, allocations: 1.686 MB / 0.5665 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.4526, allocations: 0.708 MB / 0.5672 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.972e-05/0.4526, allocations: 16.58 kB / 0.5672 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.003e-05/0.4527, allocations: 39.42 kB / 0.5673 GB, free: 12.91 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4527, allocations: 4 kB / 0.5673 GB, free: 12.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03/0.4827, allocations: 3.69 MB / 0.5709 GB, free: 9.285 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.65, allocations: 0 / 0.5709 GB, free: 9.285 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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: 14.743052307050675]