Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001595/0.001595, allocations: 118.7 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001554/0.001554, allocations: 210.5 kB / 21.46 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2172/0.2172, allocations: 46.91 MB / 357.4 MB, free: 10.49 MB / 286.1 MB " [Timeout remaining time 180] 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.Test01RegFun3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 79.86 kB / 0.4912 GB, free: 8.391 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1203, allocations: 65.99 MB / 0.5557 GB, free: 6.273 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001725/0.122, allocations: 0.4979 MB / 0.5562 GB, free: 5.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.1239, allocations: 1.411 MB / 0.5575 GB, free: 4.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.347e-05/0.1239, allocations: 4 kB / 0.5575 GB, free: 4.336 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.153e-05/0.1239, allocations: 4 kB / 0.5575 GB, free: 4.332 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.886e-05/0.1239, allocations: 3.938 kB / 0.5575 GB, free: 4.328 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006689/0.1246, allocations: 221.2 kB / 0.5578 GB, free: 4.117 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.675e-05/0.1246, allocations: 4 kB / 0.5578 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.332e-05/0.1247, allocations: 0 / 0.5578 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.433e-05/0.1247, allocations: 7.984 kB / 0.5578 GB, free: 4.105 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.453e-05/0.1248, allocations: 4 kB / 0.5578 GB, free: 4.102 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.1248, allocations: 4 kB / 0.5578 GB, free: 4.098 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004426/0.1252, allocations: 287.5 kB / 0.558 GB, free: 3.816 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.1252, allocations: 7.984 kB / 0.5581 GB, free: 3.809 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.071e-05/0.1252, allocations: 7.984 kB / 0.5581 GB, free: 3.801 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.1255, allocations: 139.7 kB / 0.5582 GB, free: 3.664 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1255, allocations: 0 / 0.5582 GB, free: 3.664 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1255, allocations: 0 / 0.5582 GB, free: 3.664 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1255, allocations: 0 / 0.5582 GB, free: 3.664 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004097/0.1259, allocations: 339.3 kB / 0.5585 GB, free: 3.285 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1259, allocations: 8.031 kB / 0.5585 GB, free: 3.277 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.403e-05/0.1259, allocations: 30.75 kB / 0.5586 GB, free: 3.238 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.474e-05/0.126, allocations: 12.88 kB / 0.5586 GB, free: 3.227 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.1261, allocations: 168.4 kB / 0.5587 GB, free: 3.023 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.602e-06/0.1261, allocations: 384 / 0.5587 GB, free: 3.023 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.1261, allocations: 4.312 kB / 0.5587 GB, free: 3.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.94e-05/0.1262, allocations: 33.83 kB / 0.5588 GB, free: 2.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1262, allocations: 0 / 0.5588 GB, free: 2.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.1262, allocations: 3.938 kB / 0.5588 GB, free: 2.977 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1262, allocations: 0 / 0.5588 GB, free: 2.977 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.027e-05/0.1263, allocations: 4 kB / 0.5588 GB, free: 2.973 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001735/0.1264, allocations: 153.7 kB / 0.5589 GB, free: 2.773 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.187e-05/0.1265, allocations: 18.61 kB / 0.5589 GB, free: 2.746 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.7e-05/0.1265, allocations: 8.797 kB / 0.5589 GB, free: 2.734 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.485e-06/0.1265, allocations: 0 / 0.5589 GB, free: 2.734 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.1265, allocations: 38.56 kB / 0.559 GB, free: 2.688 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.1265, allocations: 0 / 0.559 GB, free: 2.688 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.000133/0.1267, allocations: 37.78 kB / 0.559 GB, free: 2.645 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.1267, allocations: 59.44 kB / 0.5591 GB, free: 2.574 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.12e-05/0.1268, allocations: 89.86 kB / 0.5592 GB, free: 2.477 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.1268, allocations: 25.7 kB / 0.5592 GB, free: 2.445 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/0.1268, allocations: 80.14 kB / 0.5593 GB, free: 2.363 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.1269, allocations: 11.95 kB / 0.5593 GB, free: 2.352 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/0.1269, allocations: 9.719 kB / 0.5593 GB, free: 2.336 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.127, allocations: 314.8 kB / 0.5596 GB, free: 2.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.199e-05/0.127, allocations: 12.06 kB / 0.5596 GB, free: 2.008 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.533e-06/0.127, allocations: 0 / 0.5596 GB, free: 2.008 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.428e-05/0.1271, allocations: 8.859 kB / 0.5596 GB, free: 1.996 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1271, allocations: 0 / 0.5596 GB, free: 1.996 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.322e-05/0.1271, allocations: 41.64 kB / 0.5596 GB, free: 1.949 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1271, allocations: 4 kB / 0.5596 GB, free: 1.945 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.1271, allocations: 3.984 kB / 0.5596 GB, free: 1.941 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1272, allocations: 0 / 0.5596 GB, free: 1.941 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.217e-05/0.1272, allocations: 8.078 kB / 0.5597 GB, free: 1.934 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.1272, allocations: 4 kB / 0.5597 GB, free: 1.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.696e-05/0.1272, allocations: 7.938 kB / 0.5597 GB, free: 1.922 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.1272, allocations: 3.938 kB / 0.5597 GB, free: 1.918 MB / 414.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 (1): * Single equations (assignments): 1 * 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 7.174e-05/0.1273, allocations: 105.8 kB / 0.5598 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-06/0.1273, allocations: 11.88 kB / 0.5598 GB, free: 1.793 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.1274, allocations: 48.81 kB / 0.5598 GB, free: 1.742 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1274, allocations: 0 / 0.5598 GB, free: 1.742 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.1274, allocations: 0 / 0.5598 GB, free: 1.742 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.1274, allocations: 0 / 0.5598 GB, free: 1.742 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.1276, allocations: 149.7 kB / 0.56 GB, free: 1.547 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.1276, allocations: 0 / 0.56 GB, free: 1.547 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-06/0.1276, allocations: 3.938 kB / 0.56 GB, free: 1.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1276, allocations: 0 / 0.56 GB, free: 1.543 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.678e-06/0.1276, allocations: 0 / 0.56 GB, free: 1.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.1276, allocations: 4 kB / 0.56 GB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1276, allocations: 0 / 0.56 GB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.824e-05/0.1277, allocations: 69.05 kB / 0.56 GB, free: 1.453 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.1277, allocations: 85.03 kB / 0.5601 GB, free: 1.352 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.488e-06/0.1277, allocations: 0 / 0.5601 GB, free: 1.352 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.801e-05/0.1278, allocations: 0 / 0.5601 GB, free: 1.352 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.319e-05/0.1278, allocations: 4 kB / 0.5601 GB, free: 1.348 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-06/0.1278, allocations: 0 / 0.5601 GB, free: 1.348 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.81e-05/0.1278, allocations: 79.31 kB / 0.5602 GB, free: 1.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1278, allocations: 4 kB / 0.5602 GB, free: 1.266 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.1281, allocations: 43.92 kB / 0.5603 GB, free: 1.223 MB / 414.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0005149/0.1286, allocations: 0.6318 MB / 0.5609 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.22e-05/0.1287, allocations: 8.125 kB / 0.5609 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1287, allocations: 0 / 0.5609 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.336e-05/0.1287, allocations: 29.7 kB / 0.5609 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.1288, allocations: 6.031 kB / 0.5609 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.1292, allocations: 122.6 kB / 0.561 GB, free: 360 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.1295, allocations: 0.6729 MB / 0.5617 GB, free: 15.65 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.51e-05/0.1295, allocations: 4 kB / 0.5617 GB, free: 15.65 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.034e-05/0.1295, allocations: 7.562 kB / 0.5617 GB, free: 15.64 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1295, allocations: 4 kB / 0.5617 GB, free: 15.64 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02077/0.1503, allocations: 1.875 MB / 0.5635 GB, free: 13.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.841/7.992, allocations: 10.03 kB / 0.5635 GB, free: 13.83 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.829450157936662]