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.001421/0.001421, allocations: 117.7 kB / 17.79 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.001719/0.001719, allocations: 204.6 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.207/0.207, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 71.89 kB / 480.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3122, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.00164/0.3138, allocations: 0.5049 MB / 0.531 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002992/0.3142, allocations: 101.1 kB / 0.5311 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.326e-05/0.3142, allocations: 0 / 0.5311 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.561e-05/0.3142, allocations: 0 / 0.5311 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.395e-05/0.3142, allocations: 5.062 kB / 0.5311 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.3144, allocations: 11.95 kB / 0.5311 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.314e-05/0.3145, allocations: 10.95 kB / 0.5311 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.146e-05/0.3146, allocations: 5.422 kB / 0.5311 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.156e-05/0.3146, allocations: 10.69 kB / 0.5311 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.428e-05/0.3147, allocations: 5.297 kB / 0.5311 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.3147, allocations: 5.312 kB / 0.5311 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.735e-05/0.3148, allocations: 31.56 kB / 0.5312 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.289e-05/0.3148, allocations: 1.438 kB / 0.5312 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.587e-05/0.3148, allocations: 17.3 kB / 0.5312 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.24e-05/0.3149, allocations: 23.56 kB / 0.5312 GB, free: 12.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3149, allocations: 5.594 kB / 0.5312 GB, free: 12.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3149, allocations: 0 / 0.5312 GB, free: 12.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.315, allocations: 0 / 0.5312 GB, free: 12.87 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.000403/0.3154, allocations: 325.8 kB / 0.5315 GB, free: 12.51 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.3154, allocations: 17.67 kB / 0.5315 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.077e-05/0.3155, allocations: 34.75 kB / 0.5316 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.432e-05/0.3155, allocations: 2.438 kB / 0.5316 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.3156, allocations: 168.2 kB / 0.5317 GB, free: 12.26 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.3156, allocations: 384 / 0.5317 GB, free: 12.26 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.3157, allocations: 2.062 kB / 0.5317 GB, free: 12.26 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.3158, allocations: 51.38 kB / 0.5318 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3158, allocations: 9.312 kB / 0.5318 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3158, allocations: 8 kB / 0.5318 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3158, allocations: 1.469 kB / 0.5318 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.446e-05/0.3159, allocations: 9.859 kB / 0.5318 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.3163, allocations: 315.9 kB / 0.5321 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.894e-05/0.3164, allocations: 32.05 kB / 0.5321 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.508e-05/0.3164, allocations: 16.22 kB / 0.5322 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.3164, allocations: 8 kB / 0.5322 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.3165, allocations: 32.31 kB / 0.5322 GB, free: 11.74 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3165, allocations: 0 / 0.5322 GB, free: 11.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001926/0.3167, allocations: 49.88 kB / 0.5322 GB, free: 11.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.3167, allocations: 53.16 kB / 0.5323 GB, free: 11.64 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.3168, allocations: 95.67 kB / 0.5324 GB, free: 11.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.3169, allocations: 29.64 kB / 0.5324 GB, free: 11.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/0.3169, allocations: 94 kB / 0.5325 GB, free: 11.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.3169, allocations: 13.59 kB / 0.5325 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.317, allocations: 17.22 kB / 0.5325 GB, free: 11.38 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.3172, allocations: 316.6 kB / 0.5328 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.384e-05/0.3172, allocations: 7.578 kB / 0.5328 GB, free: 11.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.648e-05/0.3173, allocations: 19.12 kB / 0.5329 GB, free: 11.04 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.505e-05/0.3173, allocations: 35.83 kB / 0.5329 GB, free: 11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3173, allocations: 3.938 kB / 0.5329 GB, free: 11 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.385e-05/0.3174, allocations: 62.41 kB / 0.533 GB, free: 10.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.3175, allocations: 5.5 kB / 0.533 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3175, allocations: 3.984 kB / 0.533 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3175, allocations: 2.219 kB / 0.533 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.217e-05/0.3176, allocations: 6.531 kB / 0.533 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3176, allocations: 0 / 0.533 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.083e-05/0.3176, allocations: 2.281 kB / 0.533 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.3176, allocations: 2.219 kB / 0.533 GB, free: 10.95 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 9.034e-05/0.3177, allocations: 127.8 kB / 0.5331 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.3178, allocations: 3.938 kB / 0.5331 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.3179, allocations: 64.14 kB / 0.5332 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3179, allocations: 1.156 kB / 0.5332 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.3179, allocations: 0 / 0.5332 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.3179, allocations: 1.219 kB / 0.5332 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.3181, allocations: 161.8 kB / 0.5333 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.3181, allocations: 1.625 kB / 0.5333 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.69e-05/0.3181, allocations: 6.562 kB / 0.5333 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3181, allocations: 4 kB / 0.5333 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.3181, allocations: 1.625 kB / 0.5333 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3182, allocations: 0 / 0.5333 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3182, allocations: 3.938 kB / 0.5333 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.3183, allocations: 153.4 kB / 0.5335 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.075e-05/0.3184, allocations: 77.11 kB / 0.5336 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.3184, allocations: 3.906 kB / 0.5336 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.083e-05/0.3185, allocations: 4 kB / 0.5336 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.3185, allocations: 7.984 kB / 0.5336 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-06/0.3185, allocations: 2.594 kB / 0.5336 GB, free: 10.29 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.923e-05/0.3185, allocations: 75.28 kB / 0.5336 GB, free: 10.21 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.603e-06/0.3185, allocations: 1.656 kB / 0.5336 GB, free: 10.21 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002169/0.3188, allocations: 11.25 kB / 0.5337 GB, free: 10.21 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.0003709/0.3191, allocations: 0.684 MB / 0.5343 GB, free: 9.527 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.562e-05/0.3192, allocations: 30.14 kB / 0.5344 GB, free: 9.516 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3192, allocations: 0 / 0.5344 GB, free: 9.516 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.596e-05/0.3193, allocations: 10.22 kB / 0.5344 GB, free: 9.512 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.3195, allocations: 6.656 kB / 0.5344 GB, free: 9.508 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003858/0.3199, allocations: 142.1 kB / 0.5345 GB, free: 9.348 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.3201, allocations: 0.6832 MB / 0.5352 GB, free: 8.645 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.999e-05/0.3202, allocations: 9.469 kB / 0.5352 GB, free: 8.637 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.3202, allocations: 8.75 kB / 0.5352 GB, free: 8.629 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3202, allocations: 1.406 kB / 0.5352 GB, free: 8.629 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01796/0.3382, allocations: 1.305 MB / 0.5365 GB, free: 7.902 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.328/7.667, allocations: 18.38 kB / 0.5365 GB, free: 7.887 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