Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007559/0.0007559, allocations: 93.62 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008382/0.0008382, allocations: 202.9 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.7 MB / 246.8 MB, free: 9.699 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1886/0.1886, allocations: 46.19 MB / 345.2 MB, free: 11.28 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004019, allocations: 8 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1242, allocations: 63.56 MB / 483.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0006526/0.1249, allocations: 226.8 kB / 483.4 MB, free: 3.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004002/0.1253, allocations: 110.3 kB / 483.5 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.771e-05/0.1253, allocations: 3.938 kB / 483.5 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.1254, allocations: 4 kB / 483.5 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000242/0.1256, allocations: 7.938 kB / 483.5 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.099e-05/0.1257, allocations: 3.984 kB / 483.5 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.942e-05/0.1257, allocations: 11.98 kB / 483.5 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.906e-05/0.1258, allocations: 0 / 483.5 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.271e-05/0.1258, allocations: 4 kB / 483.5 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.076e-05/0.1259, allocations: 3.938 kB / 483.5 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.1259, allocations: 0 / 483.5 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.498e-05/0.126, allocations: 23.97 kB / 483.6 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.126, allocations: 3.938 kB / 483.6 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.062e-05/0.126, allocations: 29.7 kB / 483.6 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.536e-05/0.1261, allocations: 23.91 kB / 483.6 MB, free: 3.625 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1261, allocations: 0 / 483.6 MB, free: 3.625 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1262, allocations: 0 / 483.6 MB, free: 3.625 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.1262, allocations: 0 / 483.6 MB, free: 3.625 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003361/0.1265, allocations: 317.8 kB / 483.9 MB, free: 3.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.1266, allocations: 8.875 kB / 483.9 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.045e-05/0.1266, allocations: 38.75 kB / 484 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.175e-05/0.1266, allocations: 0.9375 kB / 484 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.1268, allocations: 164.4 kB / 484.1 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.1268, allocations: 384 / 484.1 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.1268, allocations: 4.359 kB / 484.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.758e-05/0.1269, allocations: 34.27 kB / 484.2 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.1269, allocations: 7.938 kB / 484.2 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.1269, allocations: 0 / 484.2 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.127, allocations: 0 / 484.2 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.503e-05/0.127, allocations: 15.91 kB / 484.2 MB, free: 2.945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001679/0.1272, allocations: 153.9 kB / 484.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.1274, allocations: 38.61 kB / 484.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.623e-05/0.1274, allocations: 8.859 kB / 484.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003583/0.1278, allocations: 129.1 kB / 484.5 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.1278, allocations: 34.56 kB / 484.6 MB, free: 2.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.415e-06/0.1278, allocations: 0 / 484.6 MB, free: 2.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.001304/0.1291, allocations: 221.3 kB / 484.8 MB, free: 2.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.1292, allocations: 51.41 kB / 484.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.633e-05/0.1292, allocations: 97.78 kB / 484.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.1293, allocations: 33.7 kB / 484.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.323e-05/0.1293, allocations: 80.14 kB / 485 MB, free: 1.988 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.1293, allocations: 7.812 kB / 485 MB, free: 1.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.501e-05/0.1294, allocations: 13.72 kB / 485 MB, free: 1.961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.793e-05/0.1295, allocations: 322.8 kB / 485.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.651e-05/0.1296, allocations: 32.03 kB / 485.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.403e-05/0.1297, allocations: 19.98 kB / 485.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.1298, allocations: 65.02 kB / 485.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.1298, allocations: 0 / 485.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002192/0.1301, allocations: 89.5 kB / 485.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1301, allocations: 4 kB / 485.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.1301, allocations: 4 kB / 485.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.1301, allocations: 3.938 kB / 485.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.1302, allocations: 19.98 kB / 485.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1303, allocations: 0 / 485.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.47e-05/0.1304, allocations: 4 kB / 485.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.1304, allocations: 7.984 kB / 485.6 MB, free: 1.383 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.93e-05/0.1304, allocations: 109.8 kB / 485.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.141e-05/0.1305, allocations: 3.938 kB / 485.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/0.1307, allocations: 101.2 kB / 485.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1307, allocations: 0 / 485.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1307, allocations: 0 / 485.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1308, allocations: 3.938 kB / 485.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007428/0.1315, allocations: 363.3 kB / 486.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.1315, allocations: 0 / 486.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.91e-05/0.1316, allocations: 27.95 kB / 486.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.1316, allocations: 0 / 486.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.1316, allocations: 0 / 486.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1317, allocations: 0 / 486.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1317, allocations: 3.984 kB / 486.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.1319, allocations: 188.5 kB / 486.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.385e-05/0.132, allocations: 85 kB / 486.5 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.132, allocations: 4 kB / 486.5 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.1321, allocations: 12 kB / 486.5 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.75e-05/0.1321, allocations: 7.922 kB / 486.5 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.1322, allocations: 4 kB / 486.5 MB, free: 388 kB / 350.1 MB Notification: Performance of sorting global known variables: time 3.423e-05/0.1322, allocations: 79.28 kB / 486.6 MB, free: 308 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1322, allocations: 0 / 486.6 MB, free: 308 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002291/0.1324, allocations: 12 kB / 486.6 MB, free: 296 kB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0005237/0.133, allocations: 0.7249 MB / 487.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002075/0.1332, allocations: 59.89 kB / 487.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1332, allocations: 4 kB / 487.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.641e-05/0.1333, allocations: 28.31 kB / 487.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.1335, allocations: 7.984 kB / 487.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005399/0.1341, allocations: 177.2 kB / 487.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.1344, allocations: 0.677 MB / 488.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.047e-05/0.1344, allocations: 8 kB / 488.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.056e-05/0.1345, allocations: 15.44 kB / 488.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1345, allocations: 0 / 488.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01067/0.1452, allocations: 1.263 MB / 489.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/0.1454, allocations: 192.2 kB / 489.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/1.852, allocations: 3.094 kB / 489.7 MB, free: 13.09 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches