Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001427/0.001427, allocations: 92.27 kB / 20.95 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001361/0.001361, allocations: 156.9 kB / 24.26 MB, free: 164 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9266/0.9266, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2526/0.2526, allocations: 34.24 MB / 295.2 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 376.8 MB, free: 3.328 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.881e-05, allocations: 3.719 kB / 376.8 MB, free: 3.324 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002325/0.002344, allocations: 1.675 MB / 378.5 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.003765, allocations: 0.9658 MB / 379.4 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.902e-05/0.003864, allocations: 3.938 kB / 379.4 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003436/0.004208, allocations: 63.72 kB / 379.5 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004557/0.004664, allocations: 107.5 kB / 379.6 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.0049, allocations: 83.55 kB / 379.7 MB, free: 420 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.005077, allocations: 103.7 kB / 379.8 MB, free: 316 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.385e-05/0.005121, allocations: 8.234 kB / 379.8 MB, free: 308 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.005223, allocations: 63.75 kB / 379.9 MB, free: 244 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.005325, allocations: 39.89 kB / 379.9 MB, free: 204 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.005342, allocations: 4 kB / 379.9 MB, free: 200 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.098e-05/0.005423, allocations: 35.97 kB / 379.9 MB, free: 164 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.993e-05/0.005483, allocations: 23.86 kB / 380 MB, free: 140 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.005524, allocations: 11.94 kB / 380 MB, free: 128 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003642/0.005888, allocations: 107.6 kB / 380.1 MB, free: 20 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.00589, allocations: 0 / 380.1 MB, free: 20 kB / 346.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.005891, allocations: 0 / 380.1 MB, free: 20 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.005896, allocations: 3.938 kB / 380.1 MB, free: 16 kB / 346.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.0005733/0.006469, allocations: 337.6 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.745e-05/0.006536, allocations: 12.02 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.743e-05/0.006574, allocations: 34.75 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.992e-05/0.006634, allocations: 12.84 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.006842, allocations: 150.3 kB / 380.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.006852, allocations: 384 / 380.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.006865, allocations: 4.375 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.006996, allocations: 46.23 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.007004, allocations: 4.188 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.007014, allocations: 4.125 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.007019, allocations: 7.938 kB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.223e-05/0.007072, allocations: 23.91 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001841/0.007256, allocations: 152.7 kB / 380.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.007397, allocations: 54.61 kB / 380.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.55e-05/0.007442, allocations: 20.84 kB / 380.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.007467, allocations: 0 / 380.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000123/0.00759, allocations: 71.33 kB / 381 MB, free: 14.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.007591, allocations: 0 / 381 MB, free: 14.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002273/0.007818, allocations: 109.5 kB / 381.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.007856, allocations: 59.39 kB / 381.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.007999, allocations: 198.8 kB / 381.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.008011, allocations: 25.7 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.112e-05/0.008052, allocations: 96.14 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.008084, allocations: 19.89 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.008111, allocations: 17.72 kB / 381.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.624e-05/0.008207, allocations: 322.8 kB / 381.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.91e-05/0.008256, allocations: 15.98 kB / 381.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.261e-05/0.008309, allocations: 41.64 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.592e-05/0.008375, allocations: 41.72 kB / 381.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.008377, allocations: 0 / 381.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000113/0.00849, allocations: 85.56 kB / 382 MB, free: 13.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.008503, allocations: 4 kB / 382 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.008509, allocations: 3.938 kB / 382 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.008522, allocations: 4 kB / 382 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.819e-05/0.00858, allocations: 8 kB / 382 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.008588, allocations: 3.984 kB / 382 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.381e-05/0.008621, allocations: 12.03 kB / 382 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.008628, allocations: 0 / 382 MB, free: 13.84 MB / 362.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 7.745e-05/0.008705, allocations: 117.8 kB / 382.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.676e-05/0.008722, allocations: 23.83 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001388/0.008861, allocations: 98.77 kB / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.008862, allocations: 0 / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.008867, allocations: 384 / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.008871, allocations: 0 / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.008988, allocations: 164.6 kB / 382.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.008991, allocations: 4 kB / 382.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.516e-05/0.009006, allocations: 11.94 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.009007, allocations: 0 / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.009015, allocations: 3.938 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.009016, allocations: 4 kB / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.009017, allocations: 0 / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.00913, allocations: 121 kB / 382.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.379e-05/0.009144, allocations: 7.938 kB / 382.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.009163, allocations: 11.94 kB / 382.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.046e-05/0.009184, allocations: 0 / 382.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.009225, allocations: 7.984 kB / 382.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.009238, allocations: 4 kB / 382.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001022/0.00934, allocations: 151.2 kB / 382.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.00934, allocations: 0 / 382.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002218/0.009562, allocations: 16 kB / 382.8 MB, free: 13.04 MB / 362.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.001475/0.01104, allocations: 0.9692 MB / 383.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001383/0.01118, allocations: 51.91 kB / 383.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01118, allocations: 0 / 383.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.841e-05/0.01122, allocations: 23.92 kB / 383.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.01143, allocations: 39.91 kB / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.01284, allocations: 1.526 MB / 385.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.331e-05/0.01292, allocations: 89.38 kB / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.868e-05/0.01297, allocations: 12.48 kB / 385.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.723e-05/0.01304, allocations: 36.48 kB / 385.5 MB, free: 10.31 MB / 362.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01304, allocations: 4 kB / 385.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01708/0.03012, allocations: 4.046 MB / 389.6 MB, free: 6.262 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.819/6.849, allocations: 7.922 kB / 389.6 MB, free: 6.254 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197316 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.895787250250578]