Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.0008116/0.0008116, allocations: 96.27 kB / 20.96 MB, free: 3.477 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.0009152/0.0009152, allocations: 156.9 kB / 24.26 MB, free: 176 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.8963/0.8963, allocations: 177 MB / 204.4 MB, free: 5.621 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.2553/0.2553, allocations: 34.24 MB / 295.2 MB, free: 0.6523 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.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 376.8 MB, free: 3.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.435e-05/1.567e-05, allocations: 6.25 kB / 376.8 MB, free: 3.312 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002143/0.002159, allocations: 1.904 MB / 378.7 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.003345, allocations: 1.016 MB / 379.7 MB, free: 376 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.592e-05/0.003431, allocations: 3.938 kB / 379.7 MB, free: 372 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.003693, allocations: 47.69 kB / 379.8 MB, free: 324 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002664/0.003959, allocations: 107.4 kB / 379.9 MB, free: 216 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.004145, allocations: 87.59 kB / 380 MB, free: 128 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.004332, allocations: 155.6 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.004435, allocations: 25.73 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.676e-05/0.004532, allocations: 71.81 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.002e-05/0.004612, allocations: 43.81 kB / 380.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.00463, allocations: 8 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.743e-05/0.004708, allocations: 43.98 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.601e-05/0.004764, allocations: 27.91 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.519e-05/0.004819, allocations: 31.86 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.005017, allocations: 159.4 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.005019, allocations: 0 / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.00502, allocations: 0 / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.005024, allocations: 0 / 380.5 MB, free: 15.57 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.0004676/0.005491, allocations: 403.1 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.005527, allocations: 12.03 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.147e-05/0.005559, allocations: 42.67 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.836e-05/0.005607, allocations: 28.73 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.005829, allocations: 178.3 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.005841, allocations: 4.375 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.005863, allocations: 8.375 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.006046, allocations: 140.6 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.413e-06/0.006054, allocations: 192 / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.006066, allocations: 8.125 kB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.006074, allocations: 4 kB / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.715e-05/0.006161, allocations: 43.97 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004194/0.00658, allocations: 484 kB / 381.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.006812, allocations: 86.59 kB / 381.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.339e-05/0.006866, allocations: 36.83 kB / 382 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.00688, allocations: 4 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/0.007015, allocations: 113.1 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.007016, allocations: 0 / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002542/0.007271, allocations: 153.5 kB / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.007295, allocations: 55.41 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.007429, allocations: 203.6 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.007442, allocations: 29.7 kB / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.974e-05/0.007502, allocations: 120 kB / 382.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.007523, allocations: 35.73 kB / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.007556, allocations: 25.72 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.846e-05/0.007634, allocations: 334.8 kB / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.795e-05/0.007682, allocations: 27.92 kB / 383 MB, free: 12.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.792e-05/0.00775, allocations: 64.27 kB / 383.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.007858, allocations: 108.5 kB / 383.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.00786, allocations: 0 / 383.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000161/0.008021, allocations: 145.4 kB / 383.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.008033, allocations: 8.125 kB / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.008037, allocations: 0 / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.008051, allocations: 4 kB / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.642e-05/0.008107, allocations: 23.92 kB / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.008113, allocations: 4 kB / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.521e-05/0.008148, allocations: 4 kB / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.008155, allocations: 11.94 kB / 383.4 MB, free: 12.42 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.553e-05/0.008231, allocations: 137.7 kB / 383.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.008248, allocations: 15.91 kB / 383.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001708/0.008419, allocations: 131.1 kB / 383.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.008422, allocations: 4 kB / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.008425, allocations: 0 / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.00843, allocations: 3.984 kB / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.008544, allocations: 188.5 kB / 383.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.008545, allocations: 0 / 383.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.39e-05/0.008589, allocations: 12 kB / 383.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.008593, allocations: 7.969 kB / 383.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.008603, allocations: 4 kB / 383.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.008604, allocations: 0 / 383.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.008604, allocations: 4 kB / 383.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.00883, allocations: 200.8 kB / 384.1 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.378e-05/0.008843, allocations: 11.94 kB / 384.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.008859, allocations: 0 / 384.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.893e-05/0.008888, allocations: 11.98 kB / 384.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.008919, allocations: 4 kB / 384.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.008931, allocations: 7.984 kB / 384.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.074e-05/0.009012, allocations: 147.2 kB / 384.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009012, allocations: 0 / 384.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001586/0.009171, allocations: 32 kB / 384.3 MB, free: 11.44 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.0009274/0.0101, allocations: 1.06 MB / 385.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001498/0.01025, allocations: 79.89 kB / 385.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01025, allocations: 0 / 385.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.402e-05/0.0103, allocations: 36.36 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.000189/0.01049, allocations: 47.45 kB / 385.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.01188, allocations: 1.78 MB / 387.3 MB, free: 8.453 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.664e-05/0.01194, allocations: 106 kB / 387.4 MB, free: 8.332 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.589e-05/0.012, allocations: 21.48 kB / 387.4 MB, free: 8.309 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.241e-05/0.01205, allocations: 44.48 kB / 387.5 MB, free: 8.266 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01205, allocations: 0 / 387.5 MB, free: 8.266 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0162/0.02826, allocations: 4.773 MB / 392.2 MB, free: 3.5 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.905/6.933, allocations: 4 kB / 392.2 MB, free: 3.496 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_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_Test10.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.896949049085379]