Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 119 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 225.6 MB / 249.8 MB, free: 3.473 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2104/0.2104, allocations: 44.92 MB / 349.6 MB, free: 1.785 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 68.61 kB / 491.8 MB, free: 29.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1198, allocations: 64.26 MB / 0.543 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001622/0.1215, allocations: 0.5277 MB / 0.5435 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007916/0.1223, allocations: 419.1 kB / 0.5439 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.554e-05/0.1223, allocations: 0 / 0.5439 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.884e-05/0.1223, allocations: 0 / 0.5439 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.29e-05/0.1223, allocations: 3.938 kB / 0.5439 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004729/0.1228, allocations: 151.8 kB / 0.5441 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.336e-05/0.1229, allocations: 19.98 kB / 0.5441 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.931e-05/0.1229, allocations: 7.938 kB / 0.5441 GB, free: 3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.279e-05/0.1229, allocations: 11.98 kB / 0.5441 GB, free: 2.988 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.432e-05/0.123, allocations: 23.86 kB / 0.5441 GB, free: 2.965 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.123, allocations: 4 kB / 0.5441 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002828/0.1233, allocations: 167.7 kB / 0.5443 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.1233, allocations: 8 kB / 0.5443 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.1233, allocations: 19.86 kB / 0.5443 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.1235, allocations: 123.6 kB / 0.5444 GB, free: 2.648 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1235, allocations: 0 / 0.5444 GB, free: 2.648 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1235, allocations: 4 kB / 0.5444 GB, free: 2.645 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.1235, allocations: 0 / 0.5444 GB, free: 2.645 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.0004298/0.124, allocations: 367.1 kB / 0.5448 GB, free: 2.238 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.124, allocations: 8.031 kB / 0.5448 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.67e-05/0.1241, allocations: 46.67 kB / 0.5448 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.76e-05/0.1241, allocations: 4.922 kB / 0.5448 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.1242, allocations: 168.3 kB / 0.545 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.1242, allocations: 4.375 kB / 0.545 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.1242, allocations: 12.33 kB / 0.545 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.1244, allocations: 73.97 kB / 0.5451 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1244, allocations: 0 / 0.5451 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.1244, allocations: 0 / 0.5451 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1244, allocations: 4 kB / 0.5451 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.373e-05/0.1245, allocations: 47.89 kB / 0.5451 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001956/0.1247, allocations: 169.6 kB / 0.5453 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.1248, allocations: 78.48 kB / 0.5454 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.097e-05/0.1249, allocations: 36.84 kB / 0.5454 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000247/0.1251, allocations: 97.08 kB / 0.5455 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.1252, allocations: 34.5 kB / 0.5455 GB, free: 1.328 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.1252, allocations: 4 kB / 0.5455 GB, free: 1.324 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.1232/0.2483, allocations: 5.621 MB / 0.551 GB, free: 11.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.2484, allocations: 51.41 kB / 0.5511 GB, free: 11.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.2485, allocations: 97.84 kB / 0.5512 GB, free: 11.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.2485, allocations: 29.7 kB / 0.5512 GB, free: 11.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.736e-05/0.2486, allocations: 80.52 kB / 0.5513 GB, free: 11.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.544e-05/0.2487, allocations: 79.41 kB / 0.5513 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.2488, allocations: 65.61 kB / 0.5514 GB, free: 11.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.2489, allocations: 322.8 kB / 0.5517 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003375/0.2492, allocations: 115.8 kB / 0.5518 GB, free: 10.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003256/0.2496, allocations: 120.9 kB / 0.5519 GB, free: 10.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.251, allocations: 319.8 kB / 0.5522 GB, free: 10.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.251, allocations: 3.938 kB / 0.5523 GB, free: 10.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00114/0.2522, allocations: 357.2 kB / 0.5526 GB, free: 10 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.2522, allocations: 8 kB / 0.5526 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2522, allocations: 0 / 0.5526 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.2522, allocations: 0 / 0.5526 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003793/0.2526, allocations: 79.92 kB / 0.5527 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.2526, allocations: 0 / 0.5527 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.2528, allocations: 31.89 kB / 0.5527 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.2528, allocations: 19.98 kB / 0.5527 GB, free: 9.867 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.0001099/0.2529, allocations: 117.8 kB / 0.5528 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/0.253, allocations: 7.953 kB / 0.5528 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/0.2543, allocations: 432.9 kB / 0.5533 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2543, allocations: 4 kB / 0.5533 GB, free: 9.297 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2543, allocations: 3.938 kB / 0.5533 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.2543, allocations: 3.938 kB / 0.5533 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.2565, allocations: 0.786 MB / 0.554 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2565, allocations: 0 / 0.554 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002764/0.2568, allocations: 76 kB / 0.5541 GB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.2568, allocations: 4 kB / 0.5541 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/0.2568, allocations: 11.98 kB / 0.5541 GB, free: 8.352 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2568, allocations: 0 / 0.5541 GB, free: 8.352 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.2568, allocations: 3.938 kB / 0.5541 GB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.2579, allocations: 428.8 kB / 0.5545 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.258, allocations: 85.06 kB / 0.5546 GB, free: 7.805 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.258, allocations: 12 kB / 0.5546 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.2582, allocations: 27.95 kB / 0.5547 GB, free: 7.766 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.2582, allocations: 11.98 kB / 0.5547 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.2583, allocations: 11.98 kB / 0.5547 GB, free: 7.742 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.887e-05/0.2583, allocations: 79.28 kB / 0.5548 GB, free: 7.664 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2583, allocations: 0 / 0.5548 GB, free: 7.664 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001571/0.2599, allocations: 0.6323 MB / 0.5554 GB, free: 7.031 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.00404/0.2639, allocations: 1.148 MB / 0.5565 GB, free: 5.852 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007389/0.2646, allocations: 258.8 kB / 0.5567 GB, free: 5.602 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2647, allocations: 0 / 0.5567 GB, free: 5.602 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003444/0.265, allocations: 127.9 kB / 0.5569 GB, free: 5.477 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.2652, allocations: 20 kB / 0.5569 GB, free: 5.461 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.2668, allocations: 424.5 kB / 0.5573 GB, free: 4.996 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.2671, allocations: 0.7007 MB / 0.558 GB, free: 4.262 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002393/0.2674, allocations: 81.08 kB / 0.5581 GB, free: 4.184 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.2675, allocations: 55.39 kB / 0.5581 GB, free: 4.129 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2675, allocations: 0 / 0.5581 GB, free: 4.129 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5245/0.792, allocations: 55.06 MB / 0.6119 GB, free: 41.81 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.133/8.925, allocations: 9.484 kB / 0.6119 GB, free: 41.81 MB / 462.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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.94982062606141]