Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",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.001653/0.001653, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.00196/0.00196, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 222.9 MB / 241.8 MB, free: 13.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2475/0.2475, allocations: 44.17 MB / 336.1 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 68.05 kB / 407.8 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1227, allocations: 60.82 MB / 468.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.00276/0.1255, allocations: 1.975 MB / 470.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.1268, allocations: 0.9043 MB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.793e-05/0.1269, allocations: 3.938 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002464/0.1271, allocations: 43.83 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.1273, allocations: 43.77 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.1276, allocations: 114.5 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.1278, allocations: 127.5 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.85e-05/0.1279, allocations: 33.48 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.937e-05/0.128, allocations: 51.77 kB / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.245e-05/0.128, allocations: 47.72 kB / 472 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.1281, allocations: 4 kB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.605e-05/0.1282, allocations: 39.98 kB / 472 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.841e-05/0.1282, allocations: 23.84 kB / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.932e-05/0.1283, allocations: 55.61 kB / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.1285, allocations: 139.8 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1285, allocations: 0 / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.1285, allocations: 0 / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.1285, allocations: 4 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005318/0.129, allocations: 467.2 kB / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.1291, allocations: 12.03 kB / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.517e-05/0.1291, allocations: 38.73 kB / 472.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.1291, allocations: 20.75 kB / 472.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.1294, allocations: 228.4 kB / 473 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.1294, allocations: 8.375 kB / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.1294, allocations: 7.938 kB / 473 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.1296, allocations: 112.2 kB / 473.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.1296, allocations: 0 / 473.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1296, allocations: 0 / 473.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1297, allocations: 7.938 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.1298, allocations: 47.97 kB / 473.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000479/0.1303, allocations: 0.5087 MB / 473.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.1306, allocations: 94.59 kB / 473.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.109e-05/0.1307, allocations: 36.84 kB / 473.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.1307, allocations: 0 / 473.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000195/0.1309, allocations: 91.36 kB / 473.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.1309, allocations: 0 / 473.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003497/0.1313, allocations: 149.3 kB / 474 MB, free: 9.102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.1313, allocations: 55.41 kB / 474.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.1315, allocations: 183.5 kB / 474.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.1315, allocations: 29.7 kB / 474.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/0.1315, allocations: 112 kB / 474.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.1316, allocations: 31.61 kB / 474.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/0.1316, allocations: 29.72 kB / 474.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.605e-05/0.1317, allocations: 326.8 kB / 474.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.649e-05/0.1318, allocations: 35.91 kB / 474.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.195e-05/0.1319, allocations: 56.28 kB / 474.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.1321, allocations: 100.2 kB / 475 MB, free: 8.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1321, allocations: 0 / 475 MB, free: 8.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002475/0.1324, allocations: 141.4 kB / 475.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1324, allocations: 10.34 kB / 475.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1324, allocations: 0 / 475.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1324, allocations: 7.922 kB / 475.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.219e-05/0.1325, allocations: 27.92 kB / 475.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.1325, allocations: 0 / 475.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.548e-05/0.1326, allocations: 15.94 kB / 475.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.1326, allocations: 4.469 kB / 475.2 MB, free: 7.875 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.349e-05/0.1327, allocations: 125.8 kB / 475.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.1327, allocations: 19.88 kB / 475.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.676e-05/0.1328, allocations: 17.39 kB / 475.3 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1328, allocations: 3.938 kB / 475.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1328, allocations: 3.938 kB / 475.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1328, allocations: 0 / 475.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.1329, allocations: 213.5 kB / 475.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1329, allocations: 0 / 475.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.973e-05/0.133, allocations: 15.94 kB / 475.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.133, allocations: 0 / 475.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.133, allocations: 7.984 kB / 475.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.1331, allocations: 7.938 kB / 475.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1331, allocations: 4 kB / 475.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/0.1334, allocations: 176.9 kB / 475.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.1334, allocations: 88.86 kB / 475.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.1335, allocations: 4 kB / 475.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.337e-05/0.1335, allocations: 15.92 kB / 475.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/0.1336, allocations: 12.05 kB / 475.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.1336, allocations: 0 / 475.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.1337, allocations: 141.2 kB / 476 MB, free: 6.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1337, allocations: 0 / 476 MB, free: 6.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002138/0.1339, allocations: 24 kB / 476 MB, free: 6.918 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.001253/0.1352, allocations: 1.023 MB / 477.1 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002173/0.1354, allocations: 71.91 kB / 477.1 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1354, allocations: 0 / 477.1 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.912e-05/0.1355, allocations: 39.92 kB / 477.2 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.1358, allocations: 44.64 kB / 477.2 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.1377, allocations: 1.758 MB / 479 MB, free: 4.008 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.1379, allocations: 0.72 MB / 479.7 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.421e-05/0.138, allocations: 21.41 kB / 479.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.346e-05/0.1381, allocations: 43.42 kB / 479.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1381, allocations: 0 / 479.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01297/0.151, allocations: 3.484 MB / 483.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/0.1512, allocations: 238.3 kB / 483.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.828/1.979, allocations: 0 / 483.5 MB, free: 15.56 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches