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.001559/0.001559, allocations: 118.3 kB / 18.49 MB, free: 4.535 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.001653/0.001653, allocations: 222.3 kB / 21.46 MB, free: 1.582 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.42/1.42, allocations: 230.4 MB / 254.7 MB, free: 15.05 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.2139/0.2139, allocations: 46.92 MB / 357.7 MB, free: 10.19 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 79.88 kB / 0.4916 GB, free: 7.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1402, allocations: 66.05 MB / 0.5561 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001615/0.1418, allocations: 0.5242 MB / 0.5567 GB, free: 5.023 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008022/0.1426, allocations: 419.3 kB / 0.5571 GB, free: 4.609 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.827e-05/0.1427, allocations: 0 / 0.5571 GB, free: 4.609 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.384e-05/0.1427, allocations: 0 / 0.5571 GB, free: 4.609 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.983e-05/0.1427, allocations: 3.938 kB / 0.5571 GB, free: 4.605 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004992/0.1432, allocations: 147.6 kB / 0.5572 GB, free: 4.461 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.331e-05/0.1433, allocations: 23.92 kB / 0.5572 GB, free: 4.438 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.645e-05/0.1433, allocations: 4 kB / 0.5572 GB, free: 4.434 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.208e-05/0.1434, allocations: 19.92 kB / 0.5573 GB, free: 4.414 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.772e-05/0.1434, allocations: 15.92 kB / 0.5573 GB, free: 4.398 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.1434, allocations: 4 kB / 0.5573 GB, free: 4.395 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003486/0.1438, allocations: 167.7 kB / 0.5574 GB, free: 4.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.1438, allocations: 8 kB / 0.5574 GB, free: 4.223 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.1438, allocations: 23.86 kB / 0.5575 GB, free: 4.199 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.144, allocations: 123.6 kB / 0.5576 GB, free: 4.078 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.144, allocations: 0 / 0.5576 GB, free: 4.078 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.144, allocations: 0 / 0.5576 GB, free: 4.078 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.144, allocations: 0 / 0.5576 GB, free: 4.078 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004452/0.1445, allocations: 371.1 kB / 0.5579 GB, free: 3.668 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.1445, allocations: 15.97 kB / 0.5579 GB, free: 3.652 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.871e-05/0.1446, allocations: 192 / 0.5579 GB, free: 3.652 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.715e-05/0.1446, allocations: 42.67 kB / 0.558 GB, free: 3.602 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.687e-05/0.1446, allocations: 16.83 kB / 0.558 GB, free: 3.586 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.1448, allocations: 160.4 kB / 0.5582 GB, free: 3.391 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1448, allocations: 8.375 kB / 0.5582 GB, free: 3.383 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.1448, allocations: 4.375 kB / 0.5582 GB, free: 3.379 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.1449, allocations: 69.78 kB / 0.5582 GB, free: 3.305 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.1449, allocations: 4 kB / 0.5582 GB, free: 3.301 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.145, allocations: 4 kB / 0.5582 GB, free: 3.297 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.145, allocations: 0 / 0.5582 GB, free: 3.297 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.856e-05/0.145, allocations: 49.14 kB / 0.5583 GB, free: 3.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002221/0.1453, allocations: 181.6 kB / 0.5585 GB, free: 3.023 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.1454, allocations: 74.55 kB / 0.5585 GB, free: 2.941 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.063e-05/0.1455, allocations: 28.84 kB / 0.5586 GB, free: 2.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002549/0.1457, allocations: 101.1 kB / 0.5587 GB, free: 2.793 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.1457, allocations: 34.5 kB / 0.5587 GB, free: 2.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 3.296e-06/0.1457, allocations: 4 kB / 0.5587 GB, free: 2.746 MB / 414.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.124/0.2698, allocations: 5.611 MB / 0.5642 GB, free: 13.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.2698, allocations: 59.27 kB / 0.5642 GB, free: 13.03 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.27, allocations: 97.8 kB / 0.5643 GB, free: 12.92 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.27, allocations: 37.69 kB / 0.5644 GB, free: 12.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.736e-05/0.2701, allocations: 80.52 kB / 0.5644 GB, free: 12.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.2702, allocations: 71.34 kB / 0.5645 GB, free: 12.72 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.2703, allocations: 57.67 kB / 0.5646 GB, free: 12.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.2704, allocations: 326.8 kB / 0.5649 GB, free: 12.33 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003541/0.2708, allocations: 112 kB / 0.565 GB, free: 12.22 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003381/0.2711, allocations: 111.9 kB / 0.5651 GB, free: 12.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/0.2725, allocations: 329 kB / 0.5654 GB, free: 11.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.2725, allocations: 0 / 0.5654 GB, free: 11.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00126/0.2738, allocations: 357.2 kB / 0.5657 GB, free: 11.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.2738, allocations: 4 kB / 0.5657 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2738, allocations: 0 / 0.5657 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.2738, allocations: 8 kB / 0.5658 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004139/0.2743, allocations: 75.92 kB / 0.5658 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.597e-06/0.2743, allocations: 4 kB / 0.5658 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.2744, allocations: 31.89 kB / 0.5659 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.2745, allocations: 19.98 kB / 0.5659 GB, free: 11.29 MB / 430.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.0001151/0.2746, allocations: 117.8 kB / 0.566 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.2746, allocations: 7.953 kB / 0.566 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.276, allocations: 425.8 kB / 0.5664 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.276, allocations: 11.98 kB / 0.5664 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.276, allocations: 0 / 0.5664 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-06/0.2761, allocations: 7.875 kB / 0.5664 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.2783, allocations: 0.7806 MB / 0.5672 GB, free: 9.871 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.2783, allocations: 7.938 kB / 0.5672 GB, free: 9.863 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002745/0.2786, allocations: 71.88 kB / 0.5673 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.2786, allocations: 0 / 0.5673 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.44e-05/0.2786, allocations: 15.98 kB / 0.5673 GB, free: 9.777 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.2786, allocations: 4 kB / 0.5673 GB, free: 9.773 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.2786, allocations: 3.938 kB / 0.5673 GB, free: 9.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.2798, allocations: 433.1 kB / 0.5677 GB, free: 9.324 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.694e-05/0.2798, allocations: 85.06 kB / 0.5678 GB, free: 9.223 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.2799, allocations: 4 kB / 0.5678 GB, free: 9.219 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.2801, allocations: 27.95 kB / 0.5678 GB, free: 9.191 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.2801, allocations: 11.98 kB / 0.5678 GB, free: 9.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.2801, allocations: 19.98 kB / 0.5678 GB, free: 9.16 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.565e-05/0.2802, allocations: 79.28 kB / 0.5679 GB, free: 9.082 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2802, allocations: 0 / 0.5679 GB, free: 9.082 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001749/0.2819, allocations: 0.6362 MB / 0.5685 GB, free: 8.445 MB / 430.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.004535/0.2864, allocations: 1.142 MB / 0.5696 GB, free: 7.273 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007891/0.2872, allocations: 255.5 kB / 0.5699 GB, free: 7.023 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2872, allocations: 0 / 0.5699 GB, free: 7.023 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003618/0.2876, allocations: 127.8 kB / 0.57 GB, free: 6.898 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.2878, allocations: 12 kB / 0.57 GB, free: 6.887 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.2896, allocations: 428.5 kB / 0.5704 GB, free: 6.414 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.29, allocations: 0.6931 MB / 0.5711 GB, free: 5.691 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002161/0.2902, allocations: 77.09 kB / 0.5712 GB, free: 5.617 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.2904, allocations: 59.38 kB / 0.5712 GB, free: 5.559 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2904, allocations: 0 / 0.5712 GB, free: 5.559 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3073/0.5977, allocations: 55.11 MB / 0.6251 GB, free: 15.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.303/8.901, allocations: 13.86 kB / 0.6251 GB, free: 15.66 MB / 446.1 MB " [Timeout remaining time 651] (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: 11.894122308993246]