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.001622/0.001622, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.002109/0.002109, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.413/1.413, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.2171/0.2171, allocations: 46.9 MB / 357.4 MB, free: 10.46 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.002162/0.002162, allocations: 75.88 kB / 0.4912 GB, free: 8.316 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1121, allocations: 65.99 MB / 0.5557 GB, free: 6.191 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001577/0.1137, allocations: 0.5181 MB / 0.5562 GB, free: 5.668 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007556/0.1144, allocations: 427.2 kB / 0.5566 GB, free: 5.246 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.56e-05/0.1145, allocations: 0 / 0.5566 GB, free: 5.246 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.2e-05/0.1145, allocations: 0 / 0.5566 GB, free: 5.246 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.766e-05/0.1145, allocations: 3.938 kB / 0.5566 GB, free: 5.242 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.1149, allocations: 135.6 kB / 0.5567 GB, free: 5.109 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.655e-05/0.115, allocations: 27.91 kB / 0.5568 GB, free: 5.082 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.625e-05/0.115, allocations: 4 kB / 0.5568 GB, free: 5.078 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.896e-05/0.1151, allocations: 23.92 kB / 0.5568 GB, free: 5.055 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.998e-05/0.1151, allocations: 19.92 kB / 0.5568 GB, free: 5.035 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.147e-06/0.1151, allocations: 0 / 0.5568 GB, free: 5.035 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.1154, allocations: 163.8 kB / 0.557 GB, free: 4.875 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.1154, allocations: 11.98 kB / 0.557 GB, free: 4.863 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.1154, allocations: 19.86 kB / 0.557 GB, free: 4.844 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.1156, allocations: 127.6 kB / 0.5571 GB, free: 4.719 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1156, allocations: 0 / 0.5571 GB, free: 4.719 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1156, allocations: 0 / 0.5571 GB, free: 4.719 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.1156, allocations: 4 kB / 0.5571 GB, free: 4.715 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.0004175/0.116, allocations: 371.1 kB / 0.5575 GB, free: 4.305 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.1161, allocations: 12.03 kB / 0.5575 GB, free: 4.293 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.647e-05/0.1161, allocations: 38.67 kB / 0.5575 GB, free: 4.246 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.1162, allocations: 12.83 kB / 0.5575 GB, free: 4.234 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.1163, allocations: 160.4 kB / 0.5577 GB, free: 4.039 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.1163, allocations: 8.375 kB / 0.5577 GB, free: 4.031 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.1163, allocations: 8.375 kB / 0.5577 GB, free: 4.023 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.1164, allocations: 64.73 kB / 0.5578 GB, free: 3.957 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1165, allocations: 3.984 kB / 0.5578 GB, free: 3.953 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.1165, allocations: 8 kB / 0.5578 GB, free: 3.945 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1165, allocations: 0 / 0.5578 GB, free: 3.945 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.137e-05/0.1166, allocations: 43.91 kB / 0.5578 GB, free: 3.902 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001895/0.1167, allocations: 177.5 kB / 0.558 GB, free: 3.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.1169, allocations: 78.55 kB / 0.5581 GB, free: 3.594 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.596e-05/0.1169, allocations: 28.84 kB / 0.5581 GB, free: 3.562 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002424/0.1172, allocations: 101.1 kB / 0.5582 GB, free: 3.445 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.1172, allocations: 38.5 kB / 0.5582 GB, free: 3.398 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 3.046e-06/0.1172, allocations: 3.984 kB / 0.5582 GB, free: 3.395 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.1234/0.2406, allocations: 5.623 MB / 0.5637 GB, free: 13.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.2407, allocations: 59.27 kB / 0.5638 GB, free: 13.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.467e-05/0.2408, allocations: 89.86 kB / 0.5639 GB, free: 13.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.899e-05/0.2408, allocations: 29.7 kB / 0.5639 GB, free: 13.53 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.14e-05/0.2409, allocations: 80.52 kB / 0.564 GB, free: 13.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.147e-05/0.2409, allocations: 83.33 kB / 0.564 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.776e-05/0.241, allocations: 57.67 kB / 0.5641 GB, free: 13.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.2412, allocations: 326.9 kB / 0.5644 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003272/0.2415, allocations: 111.9 kB / 0.5645 GB, free: 12.86 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00032/0.2418, allocations: 119.9 kB / 0.5646 GB, free: 12.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/0.2432, allocations: 321 kB / 0.5649 GB, free: 12.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2432, allocations: 4 kB / 0.5649 GB, free: 12.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001129/0.2443, allocations: 353.2 kB / 0.5653 GB, free: 12.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.2443, allocations: 11.98 kB / 0.5653 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.2443, allocations: 0 / 0.5653 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.2443, allocations: 0 / 0.5653 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003814/0.2447, allocations: 79.92 kB / 0.5654 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.2447, allocations: 0 / 0.5654 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.2449, allocations: 31.89 kB / 0.5654 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.2449, allocations: 15.98 kB / 0.5654 GB, free: 11.94 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.0001207/0.2451, allocations: 125.8 kB / 0.5655 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.2451, allocations: 7.953 kB / 0.5655 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.2464, allocations: 429.8 kB / 0.566 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.2464, allocations: 0 / 0.566 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2464, allocations: 3.938 kB / 0.566 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.2465, allocations: 3.938 kB / 0.566 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/0.2486, allocations: 0.7834 MB / 0.5667 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2486, allocations: 3.938 kB / 0.5667 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/0.2489, allocations: 75.92 kB / 0.5668 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.2489, allocations: 8.062 kB / 0.5668 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.249, allocations: 11.98 kB / 0.5668 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.249, allocations: 0 / 0.5668 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.249, allocations: 3.938 kB / 0.5668 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.2501, allocations: 433 kB / 0.5672 GB, free: 9.969 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.953e-05/0.2501, allocations: 81.06 kB / 0.5673 GB, free: 9.871 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.2502, allocations: 8 kB / 0.5673 GB, free: 9.863 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.2504, allocations: 27.97 kB / 0.5673 GB, free: 9.836 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.2504, allocations: 15.97 kB / 0.5674 GB, free: 9.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.2504, allocations: 16 kB / 0.5674 GB, free: 9.805 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.587e-05/0.2505, allocations: 79.27 kB / 0.5675 GB, free: 9.727 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2505, allocations: 0 / 0.5675 GB, free: 9.727 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00151/0.252, allocations: 0.6245 MB / 0.5681 GB, free: 9.102 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.004109/0.2561, allocations: 1.147 MB / 0.5692 GB, free: 7.922 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008/0.2569, allocations: 259.5 kB / 0.5694 GB, free: 7.668 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.2569, allocations: 0 / 0.5694 GB, free: 7.668 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003318/0.2572, allocations: 127.8 kB / 0.5696 GB, free: 7.543 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.2575, allocations: 8 kB / 0.5696 GB, free: 7.535 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.2592, allocations: 424.6 kB / 0.57 GB, free: 7.066 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.2595, allocations: 0.697 MB / 0.5706 GB, free: 6.336 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002353/0.2597, allocations: 81.02 kB / 0.5707 GB, free: 6.258 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.2599, allocations: 59.38 kB / 0.5708 GB, free: 6.199 MB / 430.1 MB Notification: Performance of SimCode: time 7.82e-07/0.2599, allocations: 0 / 0.5708 GB, free: 6.199 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3621/0.6219, allocations: 55.07 MB / 0.6246 GB, free: 17.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.354/8.975, allocations: 7.516 kB / 0.6246 GB, free: 17.05 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.882121609058231]