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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001875/0.001875, allocations: 122.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002314/0.002314, allocations: 201.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2216/0.2216, allocations: 46.11 MB / 344.3 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002211/0.002211, allocations: 83.84 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.307, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001466/0.3085, allocations: 0.5014 MB / 0.5311 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002669/0.3088, allocations: 92.28 kB / 0.5312 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.174e-05/0.3088, allocations: 0 / 0.5312 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.649e-05/0.3088, allocations: 3.938 kB / 0.5312 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.745e-05/0.3089, allocations: 0.75 kB / 0.5312 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.3091, allocations: 12.8 kB / 0.5312 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.906e-05/0.3091, allocations: 18.39 kB / 0.5312 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.188e-05/0.3092, allocations: 9.594 kB / 0.5312 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.498e-05/0.3092, allocations: 9.609 kB / 0.5312 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.258e-05/0.3092, allocations: 3.438 kB / 0.5312 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.3093, allocations: 0 / 0.5312 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.826e-05/0.3093, allocations: 30.91 kB / 0.5313 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.815e-05/0.3094, allocations: 10.62 kB / 0.5313 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.018e-05/0.3094, allocations: 7.938 kB / 0.5313 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.673e-05/0.3095, allocations: 25.38 kB / 0.5313 GB, free: 12.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3095, allocations: 0 / 0.5313 GB, free: 12.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3095, allocations: 4 kB / 0.5313 GB, free: 12.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.3095, allocations: 0 / 0.5313 GB, free: 12.82 MB / 398.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.0004014/0.3099, allocations: 333 kB / 0.5316 GB, free: 12.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.31, allocations: 11.06 kB / 0.5316 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.391e-05/0.31, allocations: 30.75 kB / 0.5317 GB, free: 12.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.267e-05/0.31, allocations: 8.438 kB / 0.5317 GB, free: 12.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.3102, allocations: 160.4 kB / 0.5318 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.3102, allocations: 384 / 0.5318 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-06/0.3102, allocations: 3.906 kB / 0.5318 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.3103, allocations: 62.97 kB / 0.5319 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.3103, allocations: 3.938 kB / 0.5319 GB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.633e-06/0.3103, allocations: 0 / 0.5319 GB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3103, allocations: 0 / 0.5319 GB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.106e-05/0.3104, allocations: 11.61 kB / 0.5319 GB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003139/0.3107, allocations: 315.7 kB / 0.5322 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.749e-05/0.3108, allocations: 42.14 kB / 0.5322 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.728e-05/0.3108, allocations: 14.17 kB / 0.5323 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.3108, allocations: 0 / 0.5323 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.3109, allocations: 30.56 kB / 0.5323 GB, free: 11.7 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3109, allocations: 0 / 0.5323 GB, free: 11.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001724/0.3111, allocations: 66.67 kB / 0.5324 GB, free: 11.64 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.3111, allocations: 58.88 kB / 0.5324 GB, free: 11.58 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.007e-05/0.3112, allocations: 93.84 kB / 0.5325 GB, free: 11.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.3112, allocations: 25.7 kB / 0.5325 GB, free: 11.45 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/0.3113, allocations: 82.8 kB / 0.5326 GB, free: 11.36 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.3113, allocations: 19.83 kB / 0.5326 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.3113, allocations: 24.12 kB / 0.5326 GB, free: 11.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3115, allocations: 314.8 kB / 0.5329 GB, free: 11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.083e-05/0.3115, allocations: 3.25 kB / 0.5329 GB, free: 11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.935e-05/0.3115, allocations: 23.59 kB / 0.533 GB, free: 10.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.189e-05/0.3116, allocations: 35.83 kB / 0.533 GB, free: 10.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.3116, allocations: 3.938 kB / 0.533 GB, free: 10.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.064e-05/0.3117, allocations: 54.25 kB / 0.5331 GB, free: 10.9 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.3117, allocations: 9.625 kB / 0.5331 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.3117, allocations: 0 / 0.5331 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.3117, allocations: 1.094 kB / 0.5331 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.621e-05/0.3118, allocations: 11 kB / 0.5331 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3118, allocations: 5.156 kB / 0.5331 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.424e-05/0.3119, allocations: 5.203 kB / 0.5331 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.3119, allocations: 1.375 kB / 0.5331 GB, free: 10.89 MB / 398.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.693e-05/0.312, allocations: 120.3 kB / 0.5332 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.312, allocations: 1.344 kB / 0.5332 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.3121, allocations: 63.73 kB / 0.5333 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.3121, allocations: 0 / 0.5333 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3121, allocations: 1.344 kB / 0.5333 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3121, allocations: 8 kB / 0.5333 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.3123, allocations: 159.5 kB / 0.5334 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3123, allocations: 0 / 0.5334 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-05/0.3124, allocations: 10.59 kB / 0.5334 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3124, allocations: 1.25 kB / 0.5334 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.3124, allocations: 0 / 0.5334 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3124, allocations: 1 kB / 0.5334 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3124, allocations: 0 / 0.5334 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.3126, allocations: 157.2 kB / 0.5336 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.636e-05/0.3126, allocations: 86.09 kB / 0.5337 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.3126, allocations: 5.203 kB / 0.5337 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.681e-05/0.3127, allocations: 0 / 0.5337 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/0.3127, allocations: 2.25 kB / 0.5337 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.3127, allocations: 1.219 kB / 0.5337 GB, free: 10.24 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.071e-05/0.3128, allocations: 76.41 kB / 0.5338 GB, free: 10.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.979e-06/0.3128, allocations: 1.188 kB / 0.5338 GB, free: 10.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000217/0.313, allocations: 12.66 kB / 0.5338 GB, free: 10.16 MB / 398.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.0004501/0.3135, allocations: 0.6907 MB / 0.5344 GB, free: 9.469 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.524e-05/0.3136, allocations: 18.62 kB / 0.5345 GB, free: 9.465 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3136, allocations: 5.156 kB / 0.5345 GB, free: 9.461 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.174e-05/0.3136, allocations: 17.42 kB / 0.5345 GB, free: 9.453 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.3138, allocations: 7.578 kB / 0.5345 GB, free: 9.449 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003517/0.3142, allocations: 138.9 kB / 0.5346 GB, free: 9.293 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.3145, allocations: 0.6769 MB / 0.5353 GB, free: 8.594 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.763e-05/0.3145, allocations: 2.531 kB / 0.5353 GB, free: 8.594 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.3146, allocations: 8.906 kB / 0.5353 GB, free: 8.586 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3146, allocations: 1.938 kB / 0.5353 GB, free: 8.586 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/0.3355, allocations: 1.3 MB / 0.5366 GB, free: 7.863 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.626/7.962, allocations: 17.03 kB / 0.5366 GB, free: 7.852 MB / 398.1 MB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches