Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009005/0.0009005, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009659/0.000966, allocations: 183.1 kB / 16.92 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.247/1.247, allocations: 205.4 MB / 223.1 MB, free: 5.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2783/0.2783, allocations: 43.57 MB / 315 MB, free: 9.094 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004561/0.0004561, allocations: 12.47 kB / 384.7 MB, free: 7.773 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08615/0.08661, allocations: 58.86 MB / 443.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0004709/0.08711, allocations: 232.4 kB / 443.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.0886, allocations: 1.432 MB / 445.2 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.009e-05/0.08863, allocations: 0 / 445.2 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.558e-06/0.08864, allocations: 0 / 445.2 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.353e-05/0.08867, allocations: 0 / 445.2 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004466/0.08912, allocations: 151.7 kB / 445.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 2.986e-05/0.08916, allocations: 4 kB / 445.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.107e-05/0.0892, allocations: 4 kB / 445.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.519e-05/0.08922, allocations: 4 kB / 445.4 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.608e-05/0.08926, allocations: 7.922 kB / 445.4 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.08928, allocations: 4 kB / 445.4 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003517/0.08963, allocations: 267.6 kB / 445.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.172e-05/0.08965, allocations: 7.969 kB / 445.6 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.368e-05/0.08968, allocations: 25.7 kB / 445.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.08986, allocations: 139.7 kB / 445.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.08987, allocations: 4 kB / 445.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.08988, allocations: 4 kB / 445.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.715e-06/0.08988, allocations: 0 / 445.8 MB, free: 10.52 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002702/0.09016, allocations: 335.5 kB / 446.1 MB, free: 10.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.0902, allocations: 8.031 kB / 446.1 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.925e-05/0.09023, allocations: 30.75 kB / 446.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.934e-05/0.09025, allocations: 4.938 kB / 446.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.712e-05/0.09035, allocations: 168.6 kB / 446.3 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.09036, allocations: 384 / 446.3 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.011e-06/0.09037, allocations: 4.312 kB / 446.3 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.732e-05/0.09046, allocations: 45.81 kB / 446.4 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.09047, allocations: 7.938 kB / 446.4 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.09048, allocations: 0 / 446.4 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.09049, allocations: 0 / 446.4 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.814e-05/0.09051, allocations: 4 kB / 446.4 MB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001102/0.09063, allocations: 141.7 kB / 446.5 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.32e-05/0.09067, allocations: 26.59 kB / 446.6 MB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.328e-05/0.09069, allocations: 4.859 kB / 446.6 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-06/0.0907, allocations: 7.984 kB / 446.6 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.09072, allocations: 38.56 kB / 446.6 MB, free: 9.535 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.913e-06/0.09073, allocations: 0 / 446.6 MB, free: 9.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001055/0.09084, allocations: 33.64 kB / 446.7 MB, free: 9.496 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.09088, allocations: 55.41 kB / 446.7 MB, free: 9.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.547e-05/0.09094, allocations: 97.84 kB / 446.8 MB, free: 9.324 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.09096, allocations: 25.95 kB / 446.8 MB, free: 9.293 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.28e-05/0.09099, allocations: 88.14 kB / 446.9 MB, free: 9.203 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.09101, allocations: 3.906 kB / 446.9 MB, free: 9.199 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.916e-05/0.09103, allocations: 9.719 kB / 446.9 MB, free: 9.184 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.446e-05/0.09111, allocations: 310.8 kB / 447.2 MB, free: 8.871 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-06/0.09112, allocations: 0 / 447.2 MB, free: 8.871 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.013e-06/0.09114, allocations: 4 kB / 447.2 MB, free: 8.867 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.334e-05/0.09116, allocations: 16.8 kB / 447.3 MB, free: 8.848 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.09117, allocations: 4.062 kB / 447.3 MB, free: 8.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.122e-05/0.09123, allocations: 37.62 kB / 447.3 MB, free: 8.801 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.09124, allocations: 8 kB / 447.3 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.09125, allocations: 0 / 447.3 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-06/0.09127, allocations: 0 / 447.3 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.292e-05/0.09131, allocations: 0 / 447.3 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.09132, allocations: 3.984 kB / 447.3 MB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.122e-05/0.09134, allocations: 3.938 kB / 447.3 MB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.09135, allocations: 4 kB / 447.3 MB, free: 8.781 MB / 382.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 (1): * Single equations (assignments): 1 * 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 5.383e-05/0.09141, allocations: 109.9 kB / 447.4 MB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.255e-06/0.09142, allocations: 3.938 kB / 447.4 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.759e-05/0.09153, allocations: 48.75 kB / 447.5 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.09154, allocations: 4 kB / 447.5 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.09154, allocations: 0 / 447.5 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-06/0.09155, allocations: 0 / 447.5 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.409e-05/0.09163, allocations: 149.7 kB / 447.6 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.09164, allocations: 8.031 kB / 447.6 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.613e-06/0.09165, allocations: 3.938 kB / 447.6 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.09165, allocations: 0 / 447.6 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-06/0.09166, allocations: 3.938 kB / 447.6 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.09167, allocations: 0 / 447.6 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.09167, allocations: 0 / 447.6 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.926e-05/0.09174, allocations: 61.06 kB / 447.7 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.842e-05/0.09177, allocations: 81.05 kB / 447.8 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.09179, allocations: 8.031 kB / 447.8 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.415e-05/0.09185, allocations: 0 / 447.8 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.395e-05/0.09187, allocations: 11.98 kB / 447.8 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.09188, allocations: 4 kB / 447.8 MB, free: 8.191 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.552e-05/0.09191, allocations: 75.28 kB / 447.9 MB, free: 8.117 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.09191, allocations: 0 / 447.9 MB, free: 8.117 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002171/0.09213, allocations: 40 kB / 447.9 MB, free: 8.078 MB / 382.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0003919/0.09253, allocations: 0.6359 MB / 448.5 MB, free: 7.414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 5.574e-05/0.0926, allocations: 15.94 kB / 448.6 MB, free: 7.398 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.09261, allocations: 0 / 448.6 MB, free: 7.398 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.723e-05/0.09264, allocations: 29.69 kB / 448.6 MB, free: 7.363 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001256/0.09277, allocations: 4 kB / 448.6 MB, free: 7.359 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000279/0.09305, allocations: 136.4 kB / 448.7 MB, free: 7.188 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/0.09322, allocations: 0.6692 MB / 449.4 MB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.34e-05/0.09325, allocations: 4 kB / 449.4 MB, free: 6.488 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.731e-05/0.09327, allocations: 7.438 kB / 449.4 MB, free: 6.48 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.09327, allocations: 0 / 449.4 MB, free: 6.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.979/2.072, allocations: 1.655 MB / 451.1 MB, free: 4.852 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/2.072, allocations: 202.4 kB / 451.3 MB, free: 4.594 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.862/3.935, allocations: 0 / 451.3 MB, free: 4.594 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches