Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",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.001077/0.001078, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 175.4 kB / 16.56 MB, free: 6.379 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.562/1.562, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4078/0.4078, allocations: 43.54 MB / 314.5 MB, free: 9.027 MB / 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.0005599/0.0005601, allocations: 20 kB / 384 MB, free: 8.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1339, allocations: 58.86 MB / 442.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.000719/0.1347, allocations: 303 kB / 443.1 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003028/0.135, allocations: 113.3 kB / 443.3 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.029e-05/0.1351, allocations: 0 / 443.3 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.215e-05/0.1351, allocations: 3.938 kB / 443.3 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003222/0.1354, allocations: 31.89 kB / 443.3 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.995e-06/0.1354, allocations: 4 kB / 443.3 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.837e-05/0.1355, allocations: 11.92 kB / 443.3 MB, free: 12.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.609e-05/0.1355, allocations: 7.984 kB / 443.3 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.604e-05/0.1355, allocations: 4 kB / 443.3 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.444e-05/0.1356, allocations: 15.91 kB / 443.3 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.1356, allocations: 4 kB / 443.3 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.1357, allocations: 43.95 kB / 443.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.959e-06/0.1357, allocations: 7.922 kB / 443.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.095e-05/0.1358, allocations: 29.7 kB / 443.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.519e-05/0.1359, allocations: 23.95 kB / 443.4 MB, free: 12.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.1359, allocations: 0 / 443.4 MB, free: 12.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1359, allocations: 4 kB / 443.4 MB, free: 12.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.1359, allocations: 4 kB / 443.4 MB, free: 12.59 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003755/0.1363, allocations: 339.5 kB / 443.8 MB, free: 12.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.1363, allocations: 12.03 kB / 443.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.392e-05/0.1364, allocations: 30.56 kB / 443.8 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.864e-05/0.1364, allocations: 7.953 kB / 443.8 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.1366, allocations: 163.1 kB / 444 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.1366, allocations: 7.938 kB / 444 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.1367, allocations: 4 kB / 444 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.1368, allocations: 57.69 kB / 444.1 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.1368, allocations: 0 / 444.1 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.1368, allocations: 4 kB / 444.1 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.1368, allocations: 0 / 444.1 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.1369, allocations: 51.95 kB / 444.1 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.1371, allocations: 181.5 kB / 444.3 MB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.1373, allocations: 82.48 kB / 444.4 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003141/0.1376, allocations: 255.3 kB / 444.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.1376, allocations: 30.56 kB / 444.6 MB, free: 11.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.1376, allocations: 0 / 444.6 MB, free: 11.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002215/0.1379, allocations: 101.9 kB / 444.7 MB, free: 11.06 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.1379, allocations: 51.41 kB / 444.8 MB, free: 11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.315e-05/0.138, allocations: 97.86 kB / 444.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.138, allocations: 25.83 kB / 444.9 MB, free: 10.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.017e-05/0.138, allocations: 88.12 kB / 445 MB, free: 10.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.483e-05/0.1381, allocations: 39.39 kB / 445 MB, free: 10.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.1381, allocations: 0 / 445 MB, free: 10.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1383, allocations: 322.8 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.441e-05/0.1383, allocations: 19.94 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.636e-05/0.1383, allocations: 15.98 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.817e-05/0.1384, allocations: 20 kB / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1384, allocations: 0 / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001215/0.1385, allocations: 82.19 kB / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.1385, allocations: 12 kB / 445.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.1385, allocations: 3.984 kB / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1386, allocations: 3.938 kB / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.908e-05/0.1387, allocations: 19.98 kB / 445.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1387, allocations: 0 / 445.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.971e-05/0.1387, allocations: 8.094 kB / 445.5 MB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.1387, allocations: 3.938 kB / 445.5 MB, free: 10.22 MB / 382.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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001888/0.1389, allocations: 125.7 kB / 445.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-06/0.1389, allocations: 7.906 kB / 445.7 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001779/0.1391, allocations: 97.62 kB / 445.8 MB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1391, allocations: 0 / 445.8 MB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1392, allocations: 0 / 445.8 MB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1392, allocations: 3.938 kB / 445.8 MB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.1393, allocations: 177.5 kB / 445.9 MB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1393, allocations: 0 / 445.9 MB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.415e-05/0.1394, allocations: 15.98 kB / 446 MB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1394, allocations: 4 kB / 446 MB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.1394, allocations: 0 / 446 MB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1394, allocations: 4 kB / 446 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1394, allocations: 0 / 446 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/0.1395, allocations: 117 kB / 446.1 MB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.475e-05/0.1396, allocations: 81.05 kB / 446.2 MB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.1396, allocations: 0 / 446.2 MB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.538e-05/0.1396, allocations: 4 kB / 446.2 MB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.583e-05/0.1397, allocations: 3.984 kB / 446.2 MB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.1397, allocations: 8 kB / 446.2 MB, free: 9.484 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.336e-05/0.1397, allocations: 79.28 kB / 446.3 MB, free: 9.406 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1397, allocations: 0 / 446.3 MB, free: 9.406 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001893/0.1399, allocations: 12 kB / 446.3 MB, free: 9.395 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007691/0.1407, allocations: 0.671 MB / 446.9 MB, free: 8.695 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001327/0.1408, allocations: 56.02 kB / 447 MB, free: 8.641 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1408, allocations: 0 / 447 MB, free: 8.641 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.495e-05/0.1409, allocations: 31.92 kB / 447 MB, free: 8.609 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001146/0.141, allocations: 4 kB / 447 MB, free: 8.605 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004954/0.1415, allocations: 180.3 kB / 447.2 MB, free: 8.387 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.1419, allocations: 0.6809 MB / 447.9 MB, free: 7.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.064e-05/0.1419, allocations: 12 kB / 447.9 MB, free: 7.668 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.174e-05/0.142, allocations: 19.42 kB / 447.9 MB, free: 7.648 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.142, allocations: 0 / 447.9 MB, free: 7.648 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01214/0.1541, allocations: 1.323 MB / 449.2 MB, free: 6.352 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/0.1543, allocations: 184.6 kB / 449.4 MB, free: 6.113 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/1.84, allocations: 0 / 449.4 MB, free: 6.113 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat does not exist to compare? outputFormat=mat