Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.001722/0.001722, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.002022/0.002022, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.435/1.435, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.2238/0.2238, allocations: 46.9 MB / 357.4 MB, free: 10.45 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.TestRegRootDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 79.86 kB / 0.4912 GB, free: 8.273 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1222, allocations: 65.99 MB / 0.5557 GB, free: 6.152 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001646/0.1238, allocations: 0.51 MB / 0.5562 GB, free: 5.637 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002866/0.1241, allocations: 92.34 kB / 0.5563 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.361e-05/0.1241, allocations: 0 / 0.5563 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.168e-05/0.1241, allocations: 3.938 kB / 0.5563 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.428e-05/0.1242, allocations: 0 / 0.5563 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.1243, allocations: 19.91 kB / 0.5563 GB, free: 5.523 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.715e-05/0.1244, allocations: 11.98 kB / 0.5563 GB, free: 5.512 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.672e-05/0.1244, allocations: 8 kB / 0.5563 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.999e-05/0.1245, allocations: 7.938 kB / 0.5563 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.448e-05/0.1245, allocations: 3.984 kB / 0.5563 GB, free: 5.492 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.1245, allocations: 0 / 0.5563 GB, free: 5.492 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.553e-05/0.1246, allocations: 31.97 kB / 0.5563 GB, free: 5.461 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.181e-05/0.1246, allocations: 3.938 kB / 0.5563 GB, free: 5.457 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.282e-05/0.1246, allocations: 8 kB / 0.5564 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 9.716e-05/0.1247, allocations: 27.89 kB / 0.5564 GB, free: 5.422 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1247, allocations: 0 / 0.5564 GB, free: 5.422 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1247, allocations: 0 / 0.5564 GB, free: 5.422 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1247, allocations: 0 / 0.5564 GB, free: 5.422 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000411/0.1252, allocations: 339.4 kB / 0.5567 GB, free: 5.039 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.1252, allocations: 8.031 kB / 0.5567 GB, free: 5.031 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.622e-05/0.1252, allocations: 30.75 kB / 0.5567 GB, free: 4.992 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.36e-05/0.1253, allocations: 8.922 kB / 0.5567 GB, free: 4.984 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.1254, allocations: 164.3 kB / 0.5569 GB, free: 4.785 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-06/0.1254, allocations: 384 / 0.5569 GB, free: 4.785 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.1254, allocations: 8.375 kB / 0.5569 GB, free: 4.777 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.1256, allocations: 51.97 kB / 0.557 GB, free: 4.715 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1256, allocations: 7.938 kB / 0.557 GB, free: 4.707 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.1256, allocations: 0 / 0.557 GB, free: 4.707 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1256, allocations: 0 / 0.557 GB, free: 4.707 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.508e-05/0.1256, allocations: 15.94 kB / 0.557 GB, free: 4.691 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000309/0.1259, allocations: 317.2 kB / 0.5573 GB, free: 4.328 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.365e-05/0.126, allocations: 30.52 kB / 0.5573 GB, free: 4.289 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.703e-05/0.1261, allocations: 16.95 kB / 0.5573 GB, free: 4.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.1261, allocations: 3.984 kB / 0.5573 GB, free: 4.266 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.1261, allocations: 34.5 kB / 0.5574 GB, free: 4.223 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1261, allocations: 0 / 0.5574 GB, free: 4.223 MB / 414.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001707/0.1263, allocations: 57.58 kB / 0.5574 GB, free: 4.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.1263, allocations: 59.41 kB / 0.5575 GB, free: 4.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.454e-05/0.1264, allocations: 93.86 kB / 0.5576 GB, free: 3.988 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.1264, allocations: 25.7 kB / 0.5576 GB, free: 3.957 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.273e-05/0.1265, allocations: 84.14 kB / 0.5577 GB, free: 3.871 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.1265, allocations: 19.83 kB / 0.5577 GB, free: 3.852 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.1265, allocations: 13.72 kB / 0.5577 GB, free: 3.832 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.1267, allocations: 314.8 kB / 0.558 GB, free: 3.516 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.139e-05/0.1267, allocations: 4 kB / 0.558 GB, free: 3.512 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.71e-05/0.1267, allocations: 37.7 kB / 0.558 GB, free: 3.469 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.98e-05/0.1268, allocations: 21.72 kB / 0.5581 GB, free: 3.441 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.1268, allocations: 3.938 kB / 0.5581 GB, free: 3.438 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.867e-05/0.1269, allocations: 61.62 kB / 0.5581 GB, free: 3.371 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.1269, allocations: 4 kB / 0.5581 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1269, allocations: 0 / 0.5581 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1269, allocations: 240 / 0.5581 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.538e-05/0.127, allocations: 11.98 kB / 0.5581 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.127, allocations: 0 / 0.5581 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.511e-05/0.127, allocations: 11.98 kB / 0.5582 GB, free: 3.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.127, allocations: 0 / 0.5582 GB, free: 3.344 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 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 8.352e-05/0.1271, allocations: 113.8 kB / 0.5583 GB, free: 3.223 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.1271, allocations: 7.984 kB / 0.5583 GB, free: 3.215 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.1273, allocations: 65.25 kB / 0.5583 GB, free: 3.145 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1273, allocations: 4 kB / 0.5583 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1273, allocations: 0 / 0.5583 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1273, allocations: 0 / 0.5583 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.1274, allocations: 161.6 kB / 0.5585 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1274, allocations: 4 kB / 0.5585 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.298e-05/0.1275, allocations: 11.98 kB / 0.5585 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1275, allocations: 0 / 0.5585 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.1275, allocations: 0 / 0.5585 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1275, allocations: 0 / 0.5585 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1275, allocations: 4 kB / 0.5585 GB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.1276, allocations: 151.4 kB / 0.5587 GB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.494e-05/0.1277, allocations: 81.06 kB / 0.5587 GB, free: 2.652 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.1277, allocations: 11.94 kB / 0.5587 GB, free: 2.641 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.971e-05/0.1277, allocations: 4 kB / 0.5588 GB, free: 2.637 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.1278, allocations: 3.984 kB / 0.5588 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.1278, allocations: 0 / 0.5588 GB, free: 2.633 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.429e-05/0.1278, allocations: 79.28 kB / 0.5588 GB, free: 2.555 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1278, allocations: 0 / 0.5588 GB, free: 2.555 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002209/0.128, allocations: 11.94 kB / 0.5588 GB, free: 2.543 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 (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.0004673/0.1285, allocations: 0.6813 MB / 0.5595 GB, free: 1.832 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001081/0.1286, allocations: 27.92 kB / 0.5595 GB, free: 1.805 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1286, allocations: 0 / 0.5595 GB, free: 1.805 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.616e-05/0.1286, allocations: 8 kB / 0.5595 GB, free: 1.797 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.1289, allocations: 10.19 kB / 0.5596 GB, free: 1.789 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003949/0.1292, allocations: 142.6 kB / 0.5597 GB, free: 1.609 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.1296, allocations: 0.6807 MB / 0.5604 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.591e-05/0.1297, allocations: 12.3 kB / 0.5604 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/0.1297, allocations: 7.438 kB / 0.5604 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1297, allocations: 0 / 0.5604 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02271/0.1524, allocations: 1.302 MB / 0.5616 GB, free: 15.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.692/7.844, allocations: 10.25 kB / 0.5617 GB, free: 15.67 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.755316532682627]