Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 105.2 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 191.7 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.754/1.754, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2327/0.2327, allocations: 43.52 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 70.45 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1333, allocations: 57.79 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003392/0.1368, allocations: 1.693 MB / 442.3 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.138, allocations: 0.7961 MB / 443.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.71e-05/0.1381, allocations: 0 / 443.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.1384, allocations: 47.75 kB / 443.2 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.1387, allocations: 51.77 kB / 443.2 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.1389, allocations: 95.69 kB / 443.3 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.1391, allocations: 91.7 kB / 443.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.1392, allocations: 16.16 kB / 443.4 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.828e-05/0.1393, allocations: 43.78 kB / 443.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.839e-05/0.1394, allocations: 23.86 kB / 443.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.1395, allocations: 4 kB / 443.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.878e-05/0.1396, allocations: 43.97 kB / 443.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.462e-05/0.1396, allocations: 23.92 kB / 443.6 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.112e-05/0.1397, allocations: 31.75 kB / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.1399, allocations: 115.7 kB / 443.7 MB, free: 3.711 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1399, allocations: 0 / 443.7 MB, free: 3.711 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.1399, allocations: 0 / 443.7 MB, free: 3.711 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1399, allocations: 0 / 443.7 MB, free: 3.711 MB / 318.1 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.0006135/0.1406, allocations: 418.9 kB / 444.1 MB, free: 3.254 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.1406, allocations: 11.89 kB / 444.1 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.952e-05/0.1407, allocations: 34.69 kB / 444.2 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.855e-05/0.1407, allocations: 16.75 kB / 444.2 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.141, allocations: 214.2 kB / 444.4 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.141, allocations: 4.375 kB / 444.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.141, allocations: 3.938 kB / 444.4 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.1412, allocations: 53.67 kB / 444.4 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.1412, allocations: 7.938 kB / 444.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1412, allocations: 0 / 444.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1412, allocations: 0 / 444.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.382e-05/0.1413, allocations: 19.98 kB / 444.5 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/0.1417, allocations: 284.9 kB / 444.7 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.1419, allocations: 58.67 kB / 444.8 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.836e-05/0.142, allocations: 32.7 kB / 444.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.142, allocations: 0 / 444.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002523/0.1423, allocations: 75.39 kB / 444.9 MB, free: 2.328 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1423, allocations: 0 / 444.9 MB, free: 2.328 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006233/0.1429, allocations: 177.1 kB / 445.1 MB, free: 2.148 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.143, allocations: 51.41 kB / 445.1 MB, free: 2.086 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.1432, allocations: 207.3 kB / 445.3 MB, free: 1.875 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.1432, allocations: 25.7 kB / 445.4 MB, free: 1.844 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.215e-05/0.1432, allocations: 108 kB / 445.5 MB, free: 1.734 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.1433, allocations: 23.66 kB / 445.5 MB, free: 1.711 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.1433, allocations: 29.7 kB / 445.5 MB, free: 1.676 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.148e-05/0.1434, allocations: 322.8 kB / 445.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.44e-05/0.1435, allocations: 20 kB / 445.9 MB, free: 1.332 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.593e-05/0.1435, allocations: 33.7 kB / 445.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.1436, allocations: 65.7 kB / 445.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1437, allocations: 4 kB / 446 MB, free: 1.219 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000154/0.1438, allocations: 97.53 kB / 446 MB, free: 1.117 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1438, allocations: 4 kB / 446.1 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1439, allocations: 0 / 446.1 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.1439, allocations: 7.984 kB / 446.1 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.74e-05/0.144, allocations: 12 kB / 446.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.144, allocations: 0 / 446.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.684e-05/0.1441, allocations: 15.88 kB / 446.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.1441, allocations: 0 / 446.1 MB, free: 1.078 MB / 318.1 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 0.0001066/0.1442, allocations: 133.8 kB / 446.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.1442, allocations: 11.81 kB / 446.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.132e-05/0.1443, allocations: 29.33 kB / 446.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.1443, allocations: 0 / 446.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1443, allocations: 0 / 446.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.1443, allocations: 3.938 kB / 446.3 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003882/0.1447, allocations: 387.3 kB / 446.6 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1447, allocations: 4.031 kB / 446.6 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.909e-05/0.1447, allocations: 12 kB / 446.7 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1448, allocations: 7.922 kB / 446.7 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.1448, allocations: 4 kB / 446.7 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1448, allocations: 0 / 446.7 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1448, allocations: 192 / 446.7 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.145, allocations: 200.3 kB / 446.9 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.756e-05/0.145, allocations: 96.86 kB / 447 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.1451, allocations: 4.312 kB / 447 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.571e-05/0.1451, allocations: 7.984 kB / 447 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.1452, allocations: 7.938 kB / 447 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.1452, allocations: 12 kB / 447 MB, free: 68 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001573/0.1454, allocations: 143.9 kB / 447.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1454, allocations: 0 / 447.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.1457, allocations: 27.98 kB / 447.2 MB, free: 15.9 MB / 334.1 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 (8): * Single equations (assignments): 6 * 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.001776/0.1474, allocations: 1.099 MB / 448.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002239/0.1477, allocations: 59.89 kB / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1477, allocations: 0 / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.103e-05/0.1478, allocations: 35.92 kB / 448.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.1482, allocations: 26.02 kB / 448.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.15, allocations: 1.659 MB / 450 MB, free: 13 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.1503, allocations: 0.708 MB / 450.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.538e-05/0.1504, allocations: 12.88 kB / 450.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.525e-05/0.1505, allocations: 35.42 kB / 450.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1505, allocations: 3.938 kB / 450.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.1746, allocations: 3.355 MB / 454.1 MB, free: 8.828 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.001/8.175, allocations: 8 kB / 454.2 MB, free: 8.82 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches