Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.001295/0.001295, 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.001393/0.001393, allocations: 214 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.462/1.462, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.2241/0.2241, allocations: 46.91 MB / 360.8 MB, free: 4.18 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.TestRegFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002311/0.002311, allocations: 79.88 kB / 0.4962 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.307, allocations: 66.09 MB / 0.5607 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001633/0.3086, allocations: 0.515 MB / 0.5612 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004049/0.309, allocations: 163.4 kB / 0.5614 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.145e-05/0.309, allocations: 4 kB / 0.5614 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.585e-05/0.3091, allocations: 3.938 kB / 0.5614 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002458/0.3093, allocations: 39.83 kB / 0.5614 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.767e-06/0.3093, allocations: 7.938 kB / 0.5614 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.867e-05/0.3094, allocations: 23.91 kB / 0.5615 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.926e-05/0.3094, allocations: 0 / 0.5615 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.105e-05/0.3094, allocations: 7.938 kB / 0.5615 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.032e-05/0.3095, allocations: 15.92 kB / 0.5615 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.3095, allocations: 4 kB / 0.5615 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.3096, allocations: 51.94 kB / 0.5615 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.3096, allocations: 3.938 kB / 0.5615 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.954e-05/0.3096, allocations: 19.86 kB / 0.5616 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.3098, allocations: 45.64 kB / 0.5616 GB, free: 3.406 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3098, allocations: 0 / 0.5616 GB, free: 3.406 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3098, allocations: 0 / 0.5616 GB, free: 3.406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.3098, allocations: 0 / 0.5616 GB, free: 3.406 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003054/0.3101, allocations: 262.2 kB / 0.5619 GB, free: 3.117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.3101, allocations: 12.03 kB / 0.5619 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.201e-05/0.3102, allocations: 38.73 kB / 0.5619 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.315e-05/0.3102, allocations: 0.9375 kB / 0.5619 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.682e-05/0.3103, allocations: 118.5 kB / 0.562 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.3103, allocations: 8.375 kB / 0.562 GB, free: 2.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.275e-06/0.3103, allocations: 384 / 0.562 GB, free: 2.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.3104, allocations: 58.23 kB / 0.5621 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3104, allocations: 3.938 kB / 0.5621 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.3105, allocations: 0 / 0.5621 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.3105, allocations: 0 / 0.5621 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.3106, allocations: 59.89 kB / 0.5621 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001887/0.3108, allocations: 144.6 kB / 0.5623 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.3109, allocations: 82.55 kB / 0.5624 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.988e-05/0.3109, allocations: 28.84 kB / 0.5624 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002284/0.3112, allocations: 15.98 kB / 0.5624 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.3112, allocations: 34.84 kB / 0.5624 GB, free: 2.422 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.3112, allocations: 0 / 0.5624 GB, free: 2.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.000226/0.3114, allocations: 109.5 kB / 0.5625 GB, free: 2.309 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.3115, allocations: 59.34 kB / 0.5626 GB, free: 2.238 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.083e-05/0.3115, allocations: 97.86 kB / 0.5627 GB, free: 2.133 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.855e-05/0.3116, allocations: 25.7 kB / 0.5627 GB, free: 2.102 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.312e-05/0.3116, allocations: 80.14 kB / 0.5628 GB, free: 2.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.288e-05/0.3116, allocations: 35.69 kB / 0.5628 GB, free: 1.984 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.3117, allocations: 29.7 kB / 0.5629 GB, free: 1.949 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3118, allocations: 310.8 kB / 0.5632 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.68e-05/0.3119, allocations: 24.05 kB / 0.5632 GB, free: 1.613 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.159e-05/0.3119, allocations: 20 kB / 0.5632 GB, free: 1.594 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.476e-05/0.312, allocations: 52.78 kB / 0.5632 GB, free: 1.539 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.312, allocations: 0 / 0.5632 GB, free: 1.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001346/0.3121, allocations: 85.64 kB / 0.5633 GB, free: 1.449 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.3121, allocations: 7.938 kB / 0.5633 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.3121, allocations: 0.6562 kB / 0.5633 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.3121, allocations: 0 / 0.5633 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.3122, allocations: 27.91 kB / 0.5634 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3122, allocations: 0 / 0.5634 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.297e-05/0.3123, allocations: 4 kB / 0.5634 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.515e-06/0.3123, allocations: 4 kB / 0.5634 GB, free: 1.406 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 (10): * Single equations (assignments): 10 * 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 7.773e-05/0.3124, allocations: 110.9 kB / 0.5635 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.3124, allocations: 15.83 kB / 0.5635 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.3126, allocations: 97.52 kB / 0.5636 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3126, allocations: 4 kB / 0.5636 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.3126, allocations: 0 / 0.5636 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3126, allocations: 3.984 kB / 0.5636 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.3127, allocations: 148.7 kB / 0.5637 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.3127, allocations: 0 / 0.5637 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.525e-05/0.3128, allocations: 12 kB / 0.5637 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.3128, allocations: 7.922 kB / 0.5638 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.3128, allocations: 8 kB / 0.5638 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.3128, allocations: 3.938 kB / 0.5638 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.3128, allocations: 0 / 0.5638 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.3129, allocations: 109.1 kB / 0.5639 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-06/0.3129, allocations: 4 kB / 0.5639 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.313, allocations: 11.92 kB / 0.5639 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.651e-05/0.313, allocations: 7.938 kB / 0.5639 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.313, allocations: 0 / 0.5639 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.677e-06/0.313, allocations: 7.984 kB / 0.5639 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.34e-05/0.313, allocations: 75.28 kB / 0.564 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.313, allocations: 0 / 0.564 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0001966/0.3132, allocations: 16 kB / 0.564 GB, free: 0.6953 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (10): * Single equations (assignments): 10 * 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.0004917/0.3137, allocations: 0.6633 MB / 0.5646 GB, free: 4 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001513/0.3139, allocations: 52 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3139, allocations: 0 / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.606e-05/0.3139, allocations: 31.92 kB / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.3141, allocations: 4 kB / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004501/0.3145, allocations: 174.6 kB / 0.5649 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.3148, allocations: 0.6846 MB / 0.5656 GB, free: 14.99 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.159e-05/0.3149, allocations: 7.781 kB / 0.5656 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.601e-05/0.3149, allocations: 11.44 kB / 0.5656 GB, free: 14.97 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3149, allocations: 0 / 0.5656 GB, free: 14.97 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02581/0.3407, allocations: 1.704 MB / 0.5672 GB, free: 13.37 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.1, allocations: 13.38 kB / 0.5672 GB, free: 13.36 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.017294319113716]