Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001575/0.001575, allocations: 121.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.001824/0.001824, allocations: 199.8 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.385/1.385, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2098/0.2098, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 71.88 kB / 480.8 MB, free: 4.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3115, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001683/0.3132, allocations: 0.5421 MB / 0.531 GB, free: 13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007559/0.314, allocations: 400.5 kB / 0.5314 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.799e-05/0.314, allocations: 1.469 kB / 0.5314 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.67e-05/0.3141, allocations: 3.938 kB / 0.5314 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.468e-05/0.3141, allocations: 0 / 0.5314 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005616/0.3147, allocations: 146.3 kB / 0.5315 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.905e-05/0.3147, allocations: 29.8 kB / 0.5316 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.609e-05/0.3148, allocations: 8.656 kB / 0.5316 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.143e-05/0.3148, allocations: 19.64 kB / 0.5316 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.464e-05/0.3149, allocations: 22.31 kB / 0.5316 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.3149, allocations: 2.469 kB / 0.5316 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002771/0.3152, allocations: 164.5 kB / 0.5318 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.3152, allocations: 7.969 kB / 0.5318 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.3153, allocations: 23.69 kB / 0.5318 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.3155, allocations: 116.3 kB / 0.5319 GB, free: 12.37 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3155, allocations: 0 / 0.5319 GB, free: 12.37 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3155, allocations: 5.375 kB / 0.5319 GB, free: 12.37 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.3155, allocations: 0 / 0.5319 GB, free: 12.37 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004102/0.3159, allocations: 366.5 kB / 0.5323 GB, free: 11.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.316, allocations: 8.375 kB / 0.5323 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.399e-05/0.316, allocations: 41.2 kB / 0.5323 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.3161, allocations: 4.094 kB / 0.5323 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.3162, allocations: 165.4 kB / 0.5325 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.3162, allocations: 7.344 kB / 0.5325 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.3162, allocations: 4.344 kB / 0.5325 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.3164, allocations: 78.28 kB / 0.5326 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.3164, allocations: 5.125 kB / 0.5326 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.3164, allocations: 1.438 kB / 0.5326 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.3165, allocations: 5.625 kB / 0.5326 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.561e-05/0.3165, allocations: 41.83 kB / 0.5326 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002017/0.3168, allocations: 174.4 kB / 0.5328 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.3169, allocations: 89.55 kB / 0.5329 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.797e-05/0.317, allocations: 31.81 kB / 0.5329 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000269/0.3172, allocations: 103.1 kB / 0.533 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.3173, allocations: 40.03 kB / 0.533 GB, free: 11.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/0.3173, allocations: 0 / 0.533 GB, free: 11.21 MB / 398.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1346/0.4519, allocations: 5.614 MB / 0.5385 GB, free: 8.133 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.452, allocations: 62.69 kB / 0.5386 GB, free: 8.062 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.307e-05/0.4521, allocations: 90.92 kB / 0.5387 GB, free: 7.965 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.4521, allocations: 30.92 kB / 0.5387 GB, free: 7.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.955e-05/0.4521, allocations: 84.45 kB / 0.5388 GB, free: 7.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.536e-05/0.4522, allocations: 80.2 kB / 0.5389 GB, free: 7.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.917e-05/0.4523, allocations: 58.77 kB / 0.5389 GB, free: 7.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.279e-05/0.4524, allocations: 325 kB / 0.5392 GB, free: 7.406 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003776/0.4528, allocations: 113.7 kB / 0.5393 GB, free: 7.355 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003385/0.4531, allocations: 115.1 kB / 0.5394 GB, free: 7.305 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.4545, allocations: 321.8 kB / 0.5398 GB, free: 7.168 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.4546, allocations: 1.062 kB / 0.5398 GB, free: 7.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001163/0.4557, allocations: 357.5 kB / 0.5401 GB, free: 6.996 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.4557, allocations: 5.156 kB / 0.5401 GB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4558, allocations: 0 / 0.5401 GB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.4558, allocations: 1.438 kB / 0.5401 GB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/0.4562, allocations: 82.81 kB / 0.5402 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.4562, allocations: 5.094 kB / 0.5402 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.4564, allocations: 32.59 kB / 0.5402 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.099e-05/0.4564, allocations: 14.89 kB / 0.5402 GB, free: 6.941 MB / 398.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 (23): * Single equations (assignments): 23 * 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 0.0001097/0.4565, allocations: 121.7 kB / 0.5403 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.4566, allocations: 8.25 kB / 0.5404 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.458, allocations: 431.9 kB / 0.5408 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.458, allocations: 2.25 kB / 0.5408 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.458, allocations: 0 / 0.5408 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.458, allocations: 13.12 kB / 0.5408 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00222/0.4603, allocations: 0.7748 MB / 0.5415 GB, free: 6.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4603, allocations: 1.188 kB / 0.5415 GB, free: 6.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002813/0.4606, allocations: 80.55 kB / 0.5416 GB, free: 5.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.4606, allocations: 1.125 kB / 0.5416 GB, free: 5.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.765e-05/0.4606, allocations: 11.91 kB / 0.5416 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.4606, allocations: 2.281 kB / 0.5416 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.4606, allocations: 3.984 kB / 0.5416 GB, free: 5.973 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.4618, allocations: 428.3 kB / 0.542 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.75e-05/0.4618, allocations: 88.95 kB / 0.5421 GB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.4619, allocations: 11.98 kB / 0.5421 GB, free: 5.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.4621, allocations: 23.97 kB / 0.5422 GB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/0.4621, allocations: 11.98 kB / 0.5422 GB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/0.4621, allocations: 19.98 kB / 0.5422 GB, free: 5.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.484e-05/0.4622, allocations: 75.28 kB / 0.5423 GB, free: 5.355 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4622, allocations: 0 / 0.5423 GB, free: 5.355 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001632/0.4638, allocations: 0.6327 MB / 0.5429 GB, free: 4.723 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.004605/0.4684, allocations: 1.135 MB / 0.544 GB, free: 3.555 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008193/0.4693, allocations: 263.5 kB / 0.5442 GB, free: 3.297 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.4693, allocations: 0 / 0.5442 GB, free: 3.297 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003644/0.4696, allocations: 135.9 kB / 0.5444 GB, free: 3.164 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.4699, allocations: 14.81 kB / 0.5444 GB, free: 3.152 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.4718, allocations: 428.9 kB / 0.5448 GB, free: 2.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.472, allocations: 0.6931 MB / 0.5455 GB, free: 1.957 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002254/0.4723, allocations: 81.08 kB / 0.5455 GB, free: 1.879 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.4724, allocations: 59.39 kB / 0.5456 GB, free: 1.82 MB / 398.1 MB Notification: Performance of SimCode: time 6.52e-07/0.4724, allocations: 0 / 0.5456 GB, free: 1.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08378/0.5562, allocations: 55.13 MB / 0.5994 GB, free: 10.71 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.81/8.366, allocations: 7.781 kB / 0.5994 GB, free: 10.71 MB / 462.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches