Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.0007017/0.0007017, allocations: 80.48 kB / 19.93 MB, free: 4.621 MB / 18.57 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.0007585/0.0007585, allocations: 173.9 kB / 23.21 MB, free: 1.344 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.825/0.825, allocations: 158.6 MB / 185 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1273/0.1273, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 406.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.504e-05/1.649e-05, allocations: 2.281 kB / 406.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002278/0.002294, allocations: 1.754 MB / 408.7 MB, free: 11.67 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.003775, allocations: 1.536 MB / 410.2 MB, free: 10.12 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.504e-05/0.00385, allocations: 0 / 410.2 MB, free: 10.12 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00034/0.00419, allocations: 59.56 kB / 410.3 MB, free: 10.06 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002766/0.004467, allocations: 95.47 kB / 410.4 MB, free: 9.969 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.004719, allocations: 147.6 kB / 410.5 MB, free: 9.824 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.004911, allocations: 187.3 kB / 410.7 MB, free: 9.641 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.288e-05/0.004954, allocations: 9.797 kB / 410.7 MB, free: 9.633 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.005065, allocations: 95.73 kB / 410.8 MB, free: 9.539 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.005178, allocations: 51.81 kB / 410.8 MB, free: 9.488 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.005199, allocations: 8 kB / 410.9 MB, free: 9.48 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.005311, allocations: 71.83 kB / 410.9 MB, free: 9.41 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.135e-05/0.005372, allocations: 31.86 kB / 411 MB, free: 9.379 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.19e-05/0.005424, allocations: 39.84 kB / 411 MB, free: 9.34 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.005647, allocations: 179.3 kB / 411.2 MB, free: 9.164 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.005649, allocations: 4 kB / 411.2 MB, free: 9.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.00565, allocations: 0 / 411.2 MB, free: 9.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.005655, allocations: 0 / 411.2 MB, free: 9.16 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005311/0.006186, allocations: 393.3 kB / 411.6 MB, free: 8.746 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.006232, allocations: 8.031 kB / 411.6 MB, free: 8.738 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.324e-05/0.006266, allocations: 30.75 kB / 411.6 MB, free: 8.699 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.006318, allocations: 24.72 kB / 411.6 MB, free: 8.676 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.006573, allocations: 189.1 kB / 411.8 MB, free: 8.465 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.006587, allocations: 8.375 kB / 411.8 MB, free: 8.457 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.006597, allocations: 4.375 kB / 411.8 MB, free: 8.453 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.006781, allocations: 156.8 kB / 412 MB, free: 8.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.006794, allocations: 0 / 412 MB, free: 8.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.006805, allocations: 3.938 kB / 412 MB, free: 8.266 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.006809, allocations: 0 / 412 MB, free: 8.266 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.567e-05/0.006875, allocations: 35.97 kB / 412 MB, free: 8.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.00705, allocations: 181.6 kB / 412.2 MB, free: 8.008 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.00722, allocations: 109.2 kB / 412.3 MB, free: 7.883 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.847e-05/0.007278, allocations: 41.7 kB / 412.3 MB, free: 7.836 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.007295, allocations: 3.984 kB / 412.3 MB, free: 7.832 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/0.007453, allocations: 113 kB / 412.4 MB, free: 7.703 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 7.21e-07/0.007454, allocations: 0 / 412.4 MB, free: 7.703 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003106/0.007765, allocations: 177.9 kB / 412.6 MB, free: 7.523 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.007829, allocations: 132.5 kB / 412.7 MB, free: 7.363 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.008003, allocations: 219.9 kB / 413 MB, free: 7.129 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.008023, allocations: 37.69 kB / 413 MB, free: 7.086 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.118e-05/0.008074, allocations: 108.1 kB / 413.1 MB, free: 6.977 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/0.008113, allocations: 27.75 kB / 413.1 MB, free: 6.949 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.008155, allocations: 33.7 kB / 413.2 MB, free: 6.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.725e-05/0.008252, allocations: 326.8 kB / 413.5 MB, free: 6.582 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.232e-05/0.008305, allocations: 27.98 kB / 413.5 MB, free: 6.555 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.61e-05/0.008391, allocations: 124.5 kB / 413.6 MB, free: 6.402 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.0085, allocations: 91.38 kB / 413.7 MB, free: 6.301 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.008505, allocations: 8 kB / 413.7 MB, free: 6.293 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001692/0.008674, allocations: 145.4 kB / 413.9 MB, free: 6.145 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.008689, allocations: 8 kB / 413.9 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.008697, allocations: 0 / 413.9 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.008716, allocations: 0 / 413.9 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.1e-05/0.008797, allocations: 23.98 kB / 413.9 MB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.008803, allocations: 0 / 413.9 MB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.97e-05/0.008852, allocations: 11.95 kB / 413.9 MB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.008861, allocations: 8.062 kB / 413.9 MB, free: 6.094 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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 8.426e-05/0.008945, allocations: 141.6 kB / 414.1 MB, free: 5.945 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.968e-05/0.008964, allocations: 23.78 kB / 414.1 MB, free: 5.922 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001972/0.009162, allocations: 163 kB / 414.2 MB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.009164, allocations: 0 / 414.2 MB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.009168, allocations: 7.938 kB / 414.3 MB, free: 5.754 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.009172, allocations: 0 / 414.3 MB, free: 5.754 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.009289, allocations: 180.7 kB / 414.4 MB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.00929, allocations: 0 / 414.4 MB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.147e-05/0.009311, allocations: 8 kB / 414.4 MB, free: 5.527 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.009315, allocations: 7.938 kB / 414.4 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.009324, allocations: 7.984 kB / 414.5 MB, free: 5.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.009325, allocations: 0 / 414.5 MB, free: 5.512 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.009327, allocations: 3.984 kB / 414.5 MB, free: 5.508 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.009496, allocations: 185.7 kB / 414.6 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.917e-05/0.009515, allocations: 19.83 kB / 414.7 MB, free: 5.285 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.009535, allocations: 8 kB / 414.7 MB, free: 5.277 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.164e-05/0.009567, allocations: 4 kB / 414.7 MB, free: 5.273 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.009603, allocations: 15.92 kB / 414.7 MB, free: 5.258 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.00962, allocations: 11.98 kB / 414.7 MB, free: 5.246 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001076/0.009727, allocations: 169.5 kB / 414.9 MB, free: 5.082 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009727, allocations: 0 / 414.9 MB, free: 5.082 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001749/0.009902, allocations: 35.94 kB / 414.9 MB, free: 5.047 MB / 346.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001285/0.01119, allocations: 1.092 MB / 416 MB, free: 3.984 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.01137, allocations: 91.89 kB / 416.1 MB, free: 3.895 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.01137, allocations: 0 / 416.1 MB, free: 3.895 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.534e-05/0.01144, allocations: 43.91 kB / 416.1 MB, free: 3.852 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.01166, allocations: 52.19 kB / 416.2 MB, free: 3.801 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.01306, allocations: 1.848 MB / 418 MB, free: 1.844 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.47e-05/0.01312, allocations: 118.2 kB / 418.1 MB, free: 1.711 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.906e-05/0.01319, allocations: 29.41 kB / 418.2 MB, free: 1.684 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.83e-05/0.01326, allocations: 52.47 kB / 418.2 MB, free: 1.633 MB / 346.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01326, allocations: 0 / 418.2 MB, free: 1.633 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0171/0.03036, allocations: 5.751 MB / 424 MB, free: 11.73 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.5/6.53, allocations: 11.91 kB / 424 MB, free: 11.72 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.553513888269663]