Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.0008332/0.0008332, allocations: 96.27 kB / 20.96 MB, free: 3.473 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.001198/0.001198, allocations: 152.9 kB / 24.26 MB, free: 172 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.9406/0.9406, allocations: 177 MB / 204.5 MB, free: 5.605 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.2424/0.2424, allocations: 34.24 MB / 295.2 MB, free: 0.668 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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 376.8 MB, free: 3.328 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.816e-05/1.947e-05, allocations: 2.312 kB / 376.8 MB, free: 3.324 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002427/0.002447, allocations: 1.908 MB / 378.7 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.003617, allocations: 1.02 MB / 379.7 MB, free: 380 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.623e-05/0.003704, allocations: 7.938 kB / 379.7 MB, free: 372 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002952/0.003999, allocations: 39.72 kB / 379.8 MB, free: 332 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002814/0.00428, allocations: 103.4 kB / 379.9 MB, free: 228 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.004463, allocations: 99.58 kB / 380 MB, free: 128 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.004655, allocations: 147.5 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.004765, allocations: 25.73 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.004866, allocations: 75.72 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.35e-05/0.00495, allocations: 39.83 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.004969, allocations: 8 kB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.19e-05/0.005051, allocations: 47.98 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.606e-05/0.005107, allocations: 27.91 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.755e-05/0.005154, allocations: 35.8 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.005371, allocations: 151.4 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.005374, allocations: 0 / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.005376, allocations: 0 / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.698e-06/0.00538, allocations: 0 / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004957/0.005876, allocations: 411 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.005912, allocations: 12.02 kB / 380.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.852e-05/0.005941, allocations: 42.75 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/0.005988, allocations: 28.73 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.006185, allocations: 170.3 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.006197, allocations: 4.375 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.006218, allocations: 8.375 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.006406, allocations: 140.8 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.006412, allocations: 192 / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.006423, allocations: 8.125 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.006429, allocations: 7.984 kB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.696e-05/0.006516, allocations: 51.95 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004293/0.006945, allocations: 480.1 kB / 381.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.007172, allocations: 82.61 kB / 381.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.754e-05/0.00723, allocations: 44.83 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.007242, allocations: 0 / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.007389, allocations: 113.1 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.007391, allocations: 0 / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002703/0.007661, allocations: 153.5 kB / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.007692, allocations: 55.41 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.00783, allocations: 203.7 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.007842, allocations: 29.64 kB / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.408e-05/0.007906, allocations: 128 kB / 382.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.007925, allocations: 27.75 kB / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.00796, allocations: 29.7 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.797e-05/0.008038, allocations: 330.8 kB / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.127e-05/0.008089, allocations: 31.98 kB / 383 MB, free: 12.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.999e-05/0.008149, allocations: 64.27 kB / 383.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.008261, allocations: 104.5 kB / 383.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.008263, allocations: 0 / 383.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004296/0.008693, allocations: 145.4 kB / 383.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.008708, allocations: 4 kB / 383.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.008715, allocations: 4 kB / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.008727, allocations: 0 / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.85e-05/0.008786, allocations: 27.92 kB / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.008791, allocations: 0 / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.717e-05/0.008828, allocations: 15.98 kB / 383.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.008835, allocations: 7.938 kB / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.474e-05/0.00891, allocations: 136.3 kB / 383.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.669e-05/0.008927, allocations: 15.91 kB / 383.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001778/0.009104, allocations: 139 kB / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.009107, allocations: 0 / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.009111, allocations: 0 / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.009115, allocations: 0 / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.009226, allocations: 184.5 kB / 383.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.009228, allocations: 0 / 383.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.096e-05/0.009279, allocations: 15.98 kB / 383.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-06/0.009281, allocations: 4 kB / 383.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.00929, allocations: 4 kB / 383.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.009291, allocations: 0 / 383.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.009294, allocations: 4 kB / 383.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.009513, allocations: 196.8 kB / 384.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.47e-05/0.009528, allocations: 11.94 kB / 384.1 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.009544, allocations: 0 / 384.1 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.433e-05/0.009578, allocations: 11.98 kB / 384.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.248e-05/0.00961, allocations: 7.984 kB / 384.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.009624, allocations: 8.062 kB / 384.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.855e-05/0.009702, allocations: 147.2 kB / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009702, allocations: 0 / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001586/0.009861, allocations: 27.94 kB / 384.3 MB, free: 11.45 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001006/0.01087, allocations: 1.062 MB / 385.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001616/0.01103, allocations: 84.08 kB / 385.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01103, allocations: 0 / 385.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.749e-05/0.01109, allocations: 40.09 kB / 385.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.01132, allocations: 47.95 kB / 385.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.01284, allocations: 1.776 MB / 387.3 MB, free: 8.453 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.067e-05/0.01291, allocations: 106 kB / 387.4 MB, free: 8.332 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.224e-05/0.01297, allocations: 21.42 kB / 387.4 MB, free: 8.309 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.868e-05/0.01303, allocations: 48.48 kB / 387.5 MB, free: 8.262 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01303, allocations: 0 / 387.5 MB, free: 8.262 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02032/0.03335, allocations: 4.767 MB / 392.3 MB, free: 3.5 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.314/7.347, allocations: 11.03 kB / 392.3 MB, free: 3.492 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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: 9.348196245729923]