Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.0008864/0.0008864, 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.0008737/0.0008737, 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.8926/0.8926, allocations: 177 MB / 204.4 MB, free: 5.609 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.2315/0.2315, allocations: 34.25 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.Test40,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 376.8 MB, free: 3.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.015e-05/2.153e-05, allocations: 6.312 kB / 376.8 MB, free: 3.312 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002123/0.002145, allocations: 1.712 MB / 378.5 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.003215, allocations: 0.9823 MB / 379.5 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.236e-05/0.003277, allocations: 0 / 379.5 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002842/0.003561, allocations: 91.56 kB / 379.6 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002694/0.003831, allocations: 115.5 kB / 379.7 MB, free: 404 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.004009, allocations: 75.61 kB / 379.8 MB, free: 328 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.004164, allocations: 119.6 kB / 379.9 MB, free: 208 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.623e-05/0.00425, allocations: 7.984 kB / 379.9 MB, free: 200 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.265e-05/0.004333, allocations: 75.75 kB / 380 MB, free: 124 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.092e-05/0.004423, allocations: 55.86 kB / 380 MB, free: 68 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.004438, allocations: 4 kB / 380 MB, free: 64 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.965e-05/0.004507, allocations: 43.92 kB / 380.1 MB, free: 20 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.086e-05/0.004568, allocations: 24 kB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.562e-05/0.004604, allocations: 23.84 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.004762, allocations: 123.5 kB / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.004764, allocations: 3.938 kB / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.004765, allocations: 0 / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.004768, allocations: 0 / 380.2 MB, free: 15.85 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003899/0.005158, allocations: 357.5 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.005192, allocations: 8.031 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.809e-05/0.00522, allocations: 34.75 kB / 380.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.005258, allocations: 12.84 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.005445, allocations: 157.6 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.005456, allocations: 384 / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.005481, allocations: 8.359 kB / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.005591, allocations: 54.23 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.0056, allocations: 12.02 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.00561, allocations: 4.125 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.005615, allocations: 8 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.694e-05/0.005662, allocations: 23.98 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002625/0.005925, allocations: 252 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.006034, allocations: 54.67 kB / 381.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.549e-05/0.006069, allocations: 28.72 kB / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.006082, allocations: 0 / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001034/0.006185, allocations: 67.39 kB / 381.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 7.81e-07/0.006186, allocations: 0 / 381.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003817/0.006568, allocations: 189.3 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.006593, allocations: 51.41 kB / 381.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.006734, allocations: 227.5 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.006745, allocations: 25.7 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.594e-05/0.006791, allocations: 112.1 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.006815, allocations: 31.78 kB / 381.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.006843, allocations: 25.72 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.153e-05/0.006915, allocations: 322.8 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.432e-05/0.006949, allocations: 23.98 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.207e-05/0.006991, allocations: 41.64 kB / 382.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.981e-05/0.007061, allocations: 65.64 kB / 382.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.007062, allocations: 0 / 382.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000112/0.007174, allocations: 109.6 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.007184, allocations: 4 kB / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.007189, allocations: 0 / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.0072, allocations: 0 / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.894e-05/0.007259, allocations: 16 kB / 382.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.007267, allocations: 4.141 kB / 382.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.798e-05/0.007295, allocations: 12.02 kB / 382.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.0073, allocations: 0 / 382.5 MB, free: 13.34 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 (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 6.529e-05/0.007365, allocations: 133.7 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.007382, allocations: 19.89 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001516/0.007533, allocations: 123.1 kB / 382.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.007535, allocations: 3.938 kB / 382.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.007538, allocations: 0 / 382.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.007541, allocations: 0 / 382.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.007812, allocations: 378.2 kB / 383.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.007813, allocations: 8.406 kB / 383.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.266e-05/0.007836, allocations: 11.98 kB / 383.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.007838, allocations: 0 / 383.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-06/0.007847, allocations: 12 kB / 383.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.007849, allocations: 0 / 383.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.007849, allocations: 0 / 383.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.007979, allocations: 216.2 kB / 383.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.205e-05/0.007991, allocations: 11.94 kB / 383.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.008007, allocations: 8 kB / 383.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.665e-05/0.008043, allocations: 0 / 383.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/0.008073, allocations: 15.92 kB / 383.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.008084, allocations: 4 kB / 383.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.639e-05/0.00817, allocations: 177.1 kB / 383.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00817, allocations: 0 / 383.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003019/0.008472, allocations: 23.94 kB / 383.7 MB, free: 12.13 MB / 362.7 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 (9): * Single equations (assignments): 7 * 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.0009293/0.009401, allocations: 1.134 MB / 384.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001126/0.009514, allocations: 55.92 kB / 384.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.009515, allocations: 0 / 384.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.138e-05/0.009557, allocations: 31.92 kB / 384.9 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.009777, allocations: 32.22 kB / 384.9 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.011, allocations: 1.763 MB / 386.7 MB, free: 9.176 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.992e-05/0.01106, allocations: 96.8 kB / 386.8 MB, free: 9.062 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.692e-05/0.01109, allocations: 12.98 kB / 386.8 MB, free: 9.051 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.083e-05/0.01115, allocations: 40.48 kB / 386.8 MB, free: 9.012 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01115, allocations: 0 / 386.8 MB, free: 9.012 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.015/0.02615, allocations: 4.473 MB / 391.3 MB, free: 4.539 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.011/7.037, allocations: 4.062 kB / 391.3 MB, free: 4.535 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_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_Test40.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.963668990880251]