Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",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.001271/0.001271, allocations: 108 kB / 16.41 MB, free: 6.484 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.001387/0.001387, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.442/1.442, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2206/0.2206, allocations: 43.53 MB / 314.1 MB, free: 472 kB / 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.001976/0.001976, allocations: 63.91 kB / 441.4 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.129, allocations: 57.79 MB / 499.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.004515/0.1336, allocations: 1.689 MB / 0.4891 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.1353, allocations: 0.8038 MB / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.986e-05/0.1355, allocations: 0 / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003981/0.1359, allocations: 75.77 kB / 0.49 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002995/0.1362, allocations: 87.64 kB / 0.4901 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003491/0.1366, allocations: 79.78 kB / 0.4901 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.1368, allocations: 111.7 kB / 0.4903 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.137, allocations: 16.2 kB / 0.4903 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.1371, allocations: 55.75 kB / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.1372, allocations: 51.83 kB / 0.4904 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.1373, allocations: 11.94 kB / 0.4904 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.1374, allocations: 43.98 kB / 0.4904 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.094e-05/0.1375, allocations: 27.92 kB / 0.4904 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.539e-05/0.1375, allocations: 35.73 kB / 0.4905 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.1378, allocations: 119.4 kB / 0.4906 GB, free: 9.035 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1378, allocations: 0 / 0.4906 GB, free: 9.035 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1378, allocations: 0 / 0.4906 GB, free: 9.035 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1378, allocations: 0 / 0.4906 GB, free: 9.035 MB / 382.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.0006897/0.1385, allocations: 434 kB / 0.491 GB, free: 8.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.1386, allocations: 15.89 kB / 0.491 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.147e-05/0.1386, allocations: 34.75 kB / 0.4911 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.1387, allocations: 16.84 kB / 0.4911 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.139, allocations: 204.2 kB / 0.4913 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.139, allocations: 384 / 0.4913 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.1391, allocations: 11.88 kB / 0.4913 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.1392, allocations: 53.67 kB / 0.4913 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1392, allocations: 0 / 0.4913 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-06/0.1392, allocations: 0 / 0.4913 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.1393, allocations: 0 / 0.4913 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.84e-05/0.1393, allocations: 31.92 kB / 0.4914 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.1398, allocations: 284.8 kB / 0.4916 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.1399, allocations: 58.67 kB / 0.4917 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.983e-05/0.14, allocations: 20.84 kB / 0.4917 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.14, allocations: 8 kB / 0.4917 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.1402, allocations: 67.33 kB / 0.4918 GB, free: 7.648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1402, allocations: 0 / 0.4918 GB, free: 7.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005701/0.1408, allocations: 181.5 kB / 0.492 GB, free: 7.465 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.1409, allocations: 55.41 kB / 0.492 GB, free: 7.398 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.1411, allocations: 215.5 kB / 0.4922 GB, free: 7.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.1412, allocations: 33.64 kB / 0.4922 GB, free: 7.141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.141e-05/0.1412, allocations: 108.1 kB / 0.4924 GB, free: 7.031 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.1413, allocations: 27.78 kB / 0.4924 GB, free: 7.004 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.1413, allocations: 21.72 kB / 0.4924 GB, free: 6.977 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.1415, allocations: 322.8 kB / 0.4927 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.529e-05/0.1416, allocations: 23.98 kB / 0.4927 GB, free: 6.629 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.131e-05/0.1416, allocations: 37.7 kB / 0.4928 GB, free: 6.586 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.1418, allocations: 61.72 kB / 0.4928 GB, free: 6.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1418, allocations: 0 / 0.4928 GB, free: 6.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002012/0.142, allocations: 109.6 kB / 0.4929 GB, free: 6.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/0.142, allocations: 4 kB / 0.4929 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.142, allocations: 3.938 kB / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1421, allocations: 0 / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.533e-05/0.1422, allocations: 19.98 kB / 0.493 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.1422, allocations: 0 / 0.493 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.495e-05/0.1422, allocations: 3.969 kB / 0.493 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.1422, allocations: 8 kB / 0.493 GB, free: 6.367 MB / 382.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.0001337/0.1424, allocations: 133.8 kB / 0.4931 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.1424, allocations: 7.953 kB / 0.4931 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.121e-05/0.1425, allocations: 17.41 kB / 0.4931 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1425, allocations: 0 / 0.4931 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1425, allocations: 3.938 kB / 0.4931 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.1425, allocations: 11.91 kB / 0.4931 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004794/0.143, allocations: 399.3 kB / 0.4935 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.143, allocations: 0 / 0.4935 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.338e-05/0.143, allocations: 11.94 kB / 0.4935 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.143, allocations: 7.938 kB / 0.4935 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.1431, allocations: 4 kB / 0.4935 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1431, allocations: 0 / 0.4935 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1431, allocations: 0 / 0.4935 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.1433, allocations: 204.4 kB / 0.4937 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.025e-05/0.1434, allocations: 85.02 kB / 0.4938 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.1434, allocations: 11.94 kB / 0.4938 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.568e-05/0.1435, allocations: 0 / 0.4938 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.1435, allocations: 7.984 kB / 0.4938 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.1436, allocations: 4 kB / 0.4938 GB, free: 5.363 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001592/0.1437, allocations: 159.4 kB / 0.494 GB, free: 5.207 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1437, allocations: 3.938 kB / 0.494 GB, free: 5.203 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.144, allocations: 31.86 kB / 0.494 GB, free: 5.172 MB / 382.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.002201/0.1462, allocations: 1.11 MB / 0.4951 GB, free: 4.082 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001975/0.1464, allocations: 63.89 kB / 0.4952 GB, free: 4.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1464, allocations: 0 / 0.4952 GB, free: 4.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.713e-05/0.1465, allocations: 27.94 kB / 0.4952 GB, free: 3.992 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.1469, allocations: 31.88 kB / 0.4952 GB, free: 3.961 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.149, allocations: 1.682 MB / 0.4969 GB, free: 2.188 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004554/0.1495, allocations: 0.7083 MB / 0.4976 GB, free: 1.453 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.037e-05/0.1495, allocations: 20.48 kB / 0.4976 GB, free: 1.434 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.439e-05/0.1496, allocations: 35.42 kB / 0.4976 GB, free: 1.398 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1496, allocations: 0 / 0.4976 GB, free: 1.398 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02672/0.1763, allocations: 3.474 MB / 0.501 GB, free: 13.9 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/8.091, allocations: 7.906 kB / 0.501 GB, free: 13.89 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches