Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001543/0.001543, allocations: 115.4 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001804/0.001805, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 227.4 MB / 246.4 MB, free: 10.83 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2403/0.2403, allocations: 46.1 MB / 343.8 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 76.62 kB / 417.2 MB, free: 20.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1185, allocations: 62.45 MB / 479.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003549/0.1221, allocations: 1.993 MB / 481.6 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.1237, allocations: 1.037 MB / 482.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.1238, allocations: 3.938 kB / 482.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.1242, allocations: 39.84 kB / 482.7 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003718/0.1246, allocations: 83.67 kB / 482.8 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.1249, allocations: 79.86 kB / 482.8 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002241/0.1251, allocations: 151.5 kB / 483 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1252, allocations: 21.55 kB / 483 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.422e-05/0.1253, allocations: 59.72 kB / 483.1 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.16e-05/0.1254, allocations: 55.7 kB / 483.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.1254, allocations: 11.94 kB / 483.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.1256, allocations: 47.98 kB / 483.2 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.412e-05/0.1256, allocations: 27.86 kB / 483.2 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.726e-05/0.1257, allocations: 51.66 kB / 483.3 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.1259, allocations: 155.7 kB / 483.4 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1259, allocations: 0 / 483.4 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.126, allocations: 0 / 483.4 MB, free: 1.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.126, allocations: 0 / 483.4 MB, free: 1.707 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.0006327/0.1266, allocations: 472.5 kB / 483.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.1267, allocations: 16.03 kB / 483.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.714e-05/0.1267, allocations: 38.73 kB / 483.9 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/0.1268, allocations: 16.75 kB / 483.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.127, allocations: 241.5 kB / 484.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.127, allocations: 4.375 kB / 484.2 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.1271, allocations: 7.938 kB / 484.2 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.1273, allocations: 118.7 kB / 484.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1273, allocations: 4 kB / 484.3 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.1273, allocations: 0 / 484.3 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.1273, allocations: 4 kB / 484.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.1275, allocations: 47.97 kB / 484.4 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005713/0.1281, allocations: 0.5087 MB / 484.9 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003505/0.1284, allocations: 94.58 kB / 485 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.701e-05/0.1285, allocations: 32.84 kB / 485 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.1286, allocations: 4 kB / 485 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002842/0.1289, allocations: 83.38 kB / 485.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.1289, allocations: 0 / 485.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004343/0.1293, allocations: 153.6 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.1294, allocations: 51.5 kB / 485.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.1296, allocations: 202.1 kB / 485.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.1296, allocations: 29.7 kB / 485.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.81e-05/0.1297, allocations: 120 kB / 485.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.1297, allocations: 27.61 kB / 485.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-05/0.1298, allocations: 29.7 kB / 485.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1299, allocations: 326.8 kB / 486 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.587e-05/0.13, allocations: 27.92 kB / 486 MB, free: 14.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.1302, allocations: 72.27 kB / 486.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.1304, allocations: 88.22 kB / 486.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1304, allocations: 0 / 486.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003015/0.1307, allocations: 141.3 kB / 486.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.1307, allocations: 4 kB / 486.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.1307, allocations: 7.984 kB / 486.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.1307, allocations: 3.938 kB / 486.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.1309, allocations: 27.92 kB / 486.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.1309, allocations: 3.984 kB / 486.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.904e-05/0.131, allocations: 19.92 kB / 486.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.131, allocations: 8.125 kB / 486.4 MB, free: 14.43 MB / 366.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 0.0001308/0.1311, allocations: 121.8 kB / 486.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.1312, allocations: 15.81 kB / 486.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.71e-05/0.1312, allocations: 21.33 kB / 486.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.1312, allocations: 3.938 kB / 486.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.1312, allocations: 0 / 486.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.1313, allocations: 0 / 486.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/0.1315, allocations: 221.4 kB / 486.8 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.1315, allocations: 3.984 kB / 486.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.926e-05/0.1316, allocations: 12.09 kB / 486.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1316, allocations: 3.938 kB / 486.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.1316, allocations: 8 kB / 486.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1316, allocations: 3.938 kB / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1316, allocations: 0 / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003967/0.132, allocations: 180.8 kB / 487 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-05/0.1321, allocations: 88.98 kB / 487.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.1321, allocations: 8.062 kB / 487.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.573e-05/0.1322, allocations: 11.92 kB / 487.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.1322, allocations: 8 kB / 487.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.1323, allocations: 4 kB / 487.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.1324, allocations: 144.4 kB / 487.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1324, allocations: 0 / 487.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002446/0.1327, allocations: 27.98 kB / 487.3 MB, free: 13.46 MB / 366.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.001453/0.1341, allocations: 1.014 MB / 488.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000251/0.1344, allocations: 87.83 kB / 488.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1344, allocations: 0 / 488.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.1345, allocations: 44.17 kB / 488.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.1348, allocations: 39.91 kB / 488.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.1369, allocations: 1.76 MB / 490.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.1372, allocations: 0.72 MB / 490.9 MB, free: 9.785 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.186e-05/0.1373, allocations: 25.41 kB / 491 MB, free: 9.762 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.455e-05/0.1374, allocations: 47.36 kB / 491 MB, free: 9.715 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1374, allocations: 0 / 491 MB, free: 9.715 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.783/1.92, allocations: 3.6 MB / 494.6 MB, free: 6.223 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002662/1.921, allocations: 248.9 kB / 494.8 MB, free: 5.957 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.957/3.878, allocations: 0 / 494.8 MB, free: 5.957 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches