Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",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.001219/0.001218, allocations: 105.5 kB / 16.4 MB, free: 6.445 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.001432/0.001432, allocations: 192.1 kB / 17.34 MB, free: 5.719 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.73/1.73, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.2463/0.2463, allocations: 43.52 MB / 314.1 MB, free: 448 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.001395/0.001395, allocations: 77.61 kB / 441.4 MB, free: 6.078 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1268, allocations: 57.78 MB / 499.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.00311/0.1299, allocations: 1.852 MB / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.1314, allocations: 0.9014 MB / 0.4902 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.44e-05/0.1315, allocations: 4 kB / 0.4902 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004982/0.132, allocations: 219.4 kB / 0.4904 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003627/0.1324, allocations: 167.4 kB / 0.4905 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004082/0.1328, allocations: 155.6 kB / 0.4907 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003109/0.1332, allocations: 223.4 kB / 0.4909 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.1333, allocations: 29.47 kB / 0.4909 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.1335, allocations: 107.6 kB / 0.491 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.1337, allocations: 151.5 kB / 0.4912 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.1337, allocations: 4 kB / 0.4912 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.1338, allocations: 51.98 kB / 0.4912 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.867e-05/0.134, allocations: 47.83 kB / 0.4913 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.1341, allocations: 87.34 kB / 0.4913 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003217/0.1344, allocations: 211.2 kB / 0.4915 GB, free: 8.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.888e-06/0.1344, allocations: 4 kB / 0.4916 GB, free: 8.012 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1344, allocations: 0 / 0.4916 GB, free: 8.012 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.1344, allocations: 4 kB / 0.4916 GB, free: 8.008 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008356/0.1353, allocations: 0.5292 MB / 0.4921 GB, free: 7.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.1353, allocations: 15.89 kB / 0.4921 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.401e-05/0.1354, allocations: 34.75 kB / 0.4921 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.969e-05/0.1355, allocations: 32.55 kB / 0.4922 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.1358, allocations: 280.1 kB / 0.4924 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.1359, allocations: 8.375 kB / 0.4924 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.1359, allocations: 7.938 kB / 0.4924 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.1361, allocations: 99.34 kB / 0.4925 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.1362, allocations: 0 / 0.4925 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1362, allocations: 4 kB / 0.4925 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.1362, allocations: 0 / 0.4925 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.1363, allocations: 47.91 kB / 0.4926 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000549/0.1369, allocations: 437 kB / 0.493 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.1372, allocations: 121.3 kB / 0.4931 GB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.545e-05/0.1373, allocations: 37.7 kB / 0.4931 GB, free: 6.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.1373, allocations: 4 kB / 0.4932 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002346/0.1376, allocations: 124.8 kB / 0.4933 GB, free: 6.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.1376, allocations: 0 / 0.4933 GB, free: 6.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009228/0.1385, allocations: 368.1 kB / 0.4936 GB, free: 5.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.1386, allocations: 85.05 kB / 0.4937 GB, free: 5.578 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004074/0.139, allocations: 436.4 kB / 0.4941 GB, free: 5.141 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.139, allocations: 29.7 kB / 0.4941 GB, free: 5.105 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.1391, allocations: 156.4 kB / 0.4943 GB, free: 4.949 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.992e-05/0.1392, allocations: 47.36 kB / 0.4943 GB, free: 4.902 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.328e-05/0.1392, allocations: 33.7 kB / 0.4944 GB, free: 4.863 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.1394, allocations: 342.8 kB / 0.4947 GB, free: 4.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.624e-05/0.1395, allocations: 35.98 kB / 0.4947 GB, free: 4.484 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.1396, allocations: 82.94 kB / 0.4948 GB, free: 4.395 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/0.1399, allocations: 127.5 kB / 0.4949 GB, free: 4.258 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1399, allocations: 0 / 0.4949 GB, free: 4.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003115/0.1402, allocations: 177.2 kB / 0.4951 GB, free: 4.078 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1402, allocations: 4 kB / 0.4951 GB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.1402, allocations: 7.984 kB / 0.4951 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1403, allocations: 4.062 kB / 0.4951 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.1404, allocations: 35.92 kB / 0.4952 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1404, allocations: 0 / 0.4952 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.902e-05/0.1405, allocations: 11.91 kB / 0.4952 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.1405, allocations: 4 kB / 0.4952 GB, free: 4.012 MB / 382.1 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001515/0.1407, allocations: 169.7 kB / 0.4953 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.1407, allocations: 23.72 kB / 0.4954 GB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.515e-05/0.1408, allocations: 34.62 kB / 0.4954 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1408, allocations: 11.94 kB / 0.4954 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.1408, allocations: 3.984 kB / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1408, allocations: 0 / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007558/0.1416, allocations: 0.6202 MB / 0.496 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.1416, allocations: 3.984 kB / 0.496 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.566e-05/0.1417, allocations: 16 kB / 0.496 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1417, allocations: 0 / 0.496 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.1417, allocations: 12.06 kB / 0.496 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.1417, allocations: 11.92 kB / 0.496 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1417, allocations: 320 / 0.496 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000388/0.1421, allocations: 364.6 kB / 0.4964 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.508e-05/0.1422, allocations: 104.8 kB / 0.4965 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.1422, allocations: 8 kB / 0.4965 GB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.1424, allocations: 4 kB / 0.4965 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.411e-05/0.1424, allocations: 19.91 kB / 0.4965 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.1425, allocations: 12 kB / 0.4965 GB, free: 2.488 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002947/0.1428, allocations: 315 kB / 0.4968 GB, free: 2.184 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1428, allocations: 0 / 0.4968 GB, free: 2.184 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003253/0.1431, allocations: 43.98 kB / 0.4969 GB, free: 2.141 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (16): * Single equations (assignments): 12 * 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.001645/0.1447, allocations: 1.268 MB / 0.4981 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002846/0.145, allocations: 115.9 kB / 0.4982 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.145, allocations: 0 / 0.4982 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.1452, allocations: 55.91 kB / 0.4983 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005111/0.1457, allocations: 61.28 kB / 0.4983 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00332/0.149, allocations: 2.626 MB / 0.5009 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/0.1495, allocations: 0.7632 MB / 0.5017 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000107/0.1496, allocations: 33.92 kB / 0.5017 GB, free: 13.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.1497, allocations: 83.39 kB / 0.5018 GB, free: 13.01 MB / 398.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1497, allocations: 0 / 0.5018 GB, free: 13.01 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02309/0.1728, allocations: 5.824 MB / 0.5075 GB, free: 7.152 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.933/8.106, allocations: 8 kB / 0.5075 GB, free: 7.145 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches