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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001537/0.001537, allocations: 114 kB / 20.43 MB, free: 1.457 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.001691/0.001691, allocations: 214.9 kB / 23.74 MB, free: 4.672 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.411/1.411, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.2207/0.2207, allocations: 46.92 MB / 360.8 MB, free: 4.168 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002501/0.002501, allocations: 80.16 kB / 0.4962 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3136, allocations: 66.09 MB / 0.5607 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001994/0.3156, allocations: 0.5344 MB / 0.5612 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008406/0.3165, allocations: 414.8 kB / 0.5616 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.984e-05/0.3165, allocations: 0 / 0.5616 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.581e-05/0.3165, allocations: 3.938 kB / 0.5616 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.402e-05/0.3165, allocations: 0 / 0.5616 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004741/0.317, allocations: 146.5 kB / 0.5618 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.471e-05/0.3171, allocations: 35.91 kB / 0.5618 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.3171, allocations: 3.984 kB / 0.5618 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.535e-05/0.3172, allocations: 15.92 kB / 0.5618 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.428e-05/0.3172, allocations: 19.92 kB / 0.5619 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.3172, allocations: 0 / 0.5619 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000266/0.3175, allocations: 159.8 kB / 0.562 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.3175, allocations: 11.98 kB / 0.562 GB, free: 2.949 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.601e-05/0.3176, allocations: 23.86 kB / 0.562 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.3178, allocations: 129.6 kB / 0.5622 GB, free: 2.801 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3178, allocations: 0 / 0.5622 GB, free: 2.801 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3178, allocations: 0 / 0.5622 GB, free: 2.801 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.3178, allocations: 0 / 0.5622 GB, free: 2.801 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.0004137/0.3182, allocations: 301.9 kB / 0.5625 GB, free: 2.477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3182, allocations: 8.031 kB / 0.5625 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.036e-05/0.3183, allocations: 42.73 kB / 0.5625 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.663e-05/0.3183, allocations: 4.891 kB / 0.5625 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.3184, allocations: 110.5 kB / 0.5626 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.3185, allocations: 384 / 0.5626 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.3185, allocations: 12.38 kB / 0.5626 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.3186, allocations: 65.92 kB / 0.5627 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.3186, allocations: 7.922 kB / 0.5627 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.3186, allocations: 4 kB / 0.5627 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3186, allocations: 4 kB / 0.5627 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.522e-05/0.3187, allocations: 39.95 kB / 0.5627 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.3189, allocations: 144.6 kB / 0.5629 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.3191, allocations: 82.55 kB / 0.563 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.075e-05/0.3191, allocations: 32.78 kB / 0.563 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00023/0.3193, allocations: 23.97 kB / 0.563 GB, free: 1.812 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.3194, allocations: 38.5 kB / 0.563 GB, free: 1.766 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.3194, allocations: 0 / 0.563 GB, free: 1.766 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.1255/0.4449, allocations: 5.615 MB / 0.5685 GB, free: 12.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.4449, allocations: 59.27 kB / 0.5686 GB, free: 12.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.131e-05/0.445, allocations: 101.8 kB / 0.5687 GB, free: 11.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.445, allocations: 25.7 kB / 0.5687 GB, free: 11.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.469e-05/0.4451, allocations: 84.52 kB / 0.5688 GB, free: 11.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.53e-05/0.4452, allocations: 83.31 kB / 0.5689 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.4453, allocations: 57.67 kB / 0.5689 GB, free: 11.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.4454, allocations: 326.8 kB / 0.5692 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003297/0.4457, allocations: 116 kB / 0.5693 GB, free: 11.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003225/0.4461, allocations: 111.9 kB / 0.5695 GB, free: 11.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.4475, allocations: 329 kB / 0.5698 GB, free: 10.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4475, allocations: 0 / 0.5698 GB, free: 10.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00117/0.4486, allocations: 353.2 kB / 0.5701 GB, free: 10.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.4486, allocations: 7.984 kB / 0.5701 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4487, allocations: 0 / 0.5701 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.4487, allocations: 0 / 0.5701 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003902/0.4491, allocations: 79.86 kB / 0.5702 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.4491, allocations: 4 kB / 0.5702 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.4493, allocations: 27.91 kB / 0.5702 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/0.4493, allocations: 19.97 kB / 0.5702 GB, free: 10.3 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 (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.0001241/0.4494, allocations: 119.2 kB / 0.5704 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.4495, allocations: 7.953 kB / 0.5704 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.4508, allocations: 433.8 kB / 0.5708 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.4509, allocations: 4 kB / 0.5708 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4509, allocations: 4 kB / 0.5708 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.4509, allocations: 3.938 kB / 0.5708 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002215/0.4531, allocations: 0.7484 MB / 0.5715 GB, free: 8.918 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.4531, allocations: 0 / 0.5715 GB, free: 8.918 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002903/0.4534, allocations: 79.8 kB / 0.5716 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.4534, allocations: 4 kB / 0.5716 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/0.4534, allocations: 15.98 kB / 0.5716 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.4534, allocations: 0 / 0.5716 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4534, allocations: 3.938 kB / 0.5716 GB, free: 8.816 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.4546, allocations: 425.2 kB / 0.572 GB, free: 8.379 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.569e-05/0.4546, allocations: 11.94 kB / 0.572 GB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.4546, allocations: 8 kB / 0.572 GB, free: 8.359 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.4548, allocations: 23.91 kB / 0.5721 GB, free: 8.336 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.4548, allocations: 19.97 kB / 0.5721 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.4548, allocations: 8 kB / 0.5721 GB, free: 8.309 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.487e-05/0.4549, allocations: 87.27 kB / 0.5722 GB, free: 8.223 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4549, allocations: 0 / 0.5722 GB, free: 8.223 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00163/0.4565, allocations: 0.6246 MB / 0.5728 GB, free: 7.598 MB / 414.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.004331/0.4608, allocations: 1.139 MB / 0.5739 GB, free: 6.426 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007815/0.4616, allocations: 263.5 kB / 0.5741 GB, free: 6.168 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4616, allocations: 0 / 0.5741 GB, free: 6.168 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003727/0.462, allocations: 131.9 kB / 0.5743 GB, free: 6.039 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.4623, allocations: 14.75 kB / 0.5743 GB, free: 6.027 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.4639, allocations: 420.5 kB / 0.5747 GB, free: 5.566 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.4642, allocations: 0.6931 MB / 0.5754 GB, free: 4.844 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002315/0.4644, allocations: 81.08 kB / 0.5754 GB, free: 4.766 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.4646, allocations: 67.36 kB / 0.5755 GB, free: 4.699 MB / 414.1 MB Notification: Performance of SimCode: time 9.91e-07/0.4646, allocations: 0 / 0.5755 GB, free: 4.699 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09552/0.5601, allocations: 55.3 MB / 0.6295 GB, free: 13.39 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.75, allocations: 1.875 kB / 0.6295 GB, free: 13.39 MB / 478.1 MB " [Timeout remaining time 648] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.669233639957383]