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.001833/0.001833, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002004/0.002004, allocations: 207.5 kB / 23.72 MB, free: 4.391 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.5 MB / 257.4 MB, free: 7.73 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.2234/0.2234, allocations: 46.96 MB / 360.8 MB, free: 4.004 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.002605/0.002605, allocations: 75.88 kB / 0.4961 GB, free: 7.562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2946, allocations: 66.09 MB / 0.5607 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.002035/0.2967, allocations: 0.5252 MB / 0.5612 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005344/0.2972, allocations: 147.5 kB / 0.5613 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.904e-05/0.2973, allocations: 0 / 0.5613 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.549e-05/0.2973, allocations: 0 / 0.5613 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.2975, allocations: 43.78 kB / 0.5614 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.827e-06/0.2975, allocations: 0 / 0.5614 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.143e-05/0.2976, allocations: 23.86 kB / 0.5614 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.527e-05/0.2976, allocations: 4 kB / 0.5614 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.148e-05/0.2977, allocations: 11.92 kB / 0.5614 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.2e-05/0.2977, allocations: 15.91 kB / 0.5614 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.2977, allocations: 4 kB / 0.5614 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.2979, allocations: 47.95 kB / 0.5615 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.2979, allocations: 0 / 0.5615 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.024e-05/0.2979, allocations: 11.81 kB / 0.5615 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.298, allocations: 49.64 kB / 0.5615 GB, free: 3.117 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.298, allocations: 0 / 0.5615 GB, free: 3.117 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.298, allocations: 0 / 0.5615 GB, free: 3.117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.298, allocations: 0 / 0.5615 GB, free: 3.117 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.0003284/0.2984, allocations: 266.2 kB / 0.5618 GB, free: 2.824 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.2984, allocations: 16.02 kB / 0.5618 GB, free: 2.809 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.121e-05/0.2985, allocations: 34.75 kB / 0.5618 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.714e-05/0.2985, allocations: 4.938 kB / 0.5618 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.2986, allocations: 102.5 kB / 0.5619 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.2986, allocations: 4.375 kB / 0.562 GB, free: 2.633 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.2986, allocations: 4.375 kB / 0.562 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.2988, allocations: 62.17 kB / 0.562 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.2988, allocations: 3.938 kB / 0.562 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.597e-06/0.2988, allocations: 0 / 0.562 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.2988, allocations: 8 kB / 0.562 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.2989, allocations: 51.95 kB / 0.5621 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001885/0.2991, allocations: 140.6 kB / 0.5622 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.2992, allocations: 78.53 kB / 0.5623 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.477e-05/0.2993, allocations: 28.84 kB / 0.5623 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002474/0.2995, allocations: 27.97 kB / 0.5623 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.2996, allocations: 34.56 kB / 0.5624 GB, free: 2.133 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.2996, allocations: 0 / 0.5624 GB, free: 2.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.000253/0.2998, allocations: 105.8 kB / 0.5625 GB, free: 2.023 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.2999, allocations: 55.77 kB / 0.5625 GB, free: 1.957 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.349e-05/0.2999, allocations: 93.86 kB / 0.5626 GB, free: 1.855 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.3, allocations: 29.7 kB / 0.5626 GB, free: 1.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.074e-05/0.3, allocations: 84.12 kB / 0.5627 GB, free: 1.734 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.049e-05/0.3001, allocations: 39.62 kB / 0.5628 GB, free: 1.695 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.3001, allocations: 21.72 kB / 0.5628 GB, free: 1.668 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3003, allocations: 314.8 kB / 0.5631 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.826e-05/0.3003, allocations: 23.92 kB / 0.5631 GB, free: 1.328 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.382e-05/0.3003, allocations: 15.98 kB / 0.5631 GB, free: 1.312 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.57e-05/0.3004, allocations: 52.98 kB / 0.5632 GB, free: 1.258 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3004, allocations: 4 kB / 0.5632 GB, free: 1.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001325/0.3006, allocations: 81.58 kB / 0.5633 GB, free: 1.168 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.3006, allocations: 11.94 kB / 0.5633 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3006, allocations: 0 / 0.5633 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3006, allocations: 0 / 0.5633 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.3007, allocations: 19.98 kB / 0.5633 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.3007, allocations: 0 / 0.5633 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.684e-05/0.3007, allocations: 4 kB / 0.5633 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.3007, allocations: 0 / 0.5633 GB, free: 1.133 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 0.0001019/0.3008, allocations: 117.8 kB / 0.5634 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.547e-05/0.3009, allocations: 11.89 kB / 0.5634 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002006/0.3011, allocations: 105.8 kB / 0.5635 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.3011, allocations: 96 / 0.5635 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3011, allocations: 3.938 kB / 0.5635 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3011, allocations: 0 / 0.5635 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.3012, allocations: 144.7 kB / 0.5637 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3012, allocations: 0 / 0.5637 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.613e-05/0.3013, allocations: 16 kB / 0.5637 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.3013, allocations: 3.938 kB / 0.5637 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.433e-06/0.3013, allocations: 0 / 0.5637 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3013, allocations: 7.938 kB / 0.5637 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3013, allocations: 0 / 0.5637 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.3014, allocations: 121 kB / 0.5638 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.714e-06/0.3015, allocations: 4 kB / 0.5638 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.3015, allocations: 3.938 kB / 0.5638 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.489e-05/0.3015, allocations: 4 kB / 0.5638 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.65e-05/0.3015, allocations: 7.984 kB / 0.5638 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.3015, allocations: 4 kB / 0.5638 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.752e-05/0.3016, allocations: 75.28 kB / 0.5639 GB, free: 444 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3016, allocations: 0 / 0.5639 GB, free: 444 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0001971/0.3018, allocations: 20.09 kB / 0.5639 GB, free: 424 kB / 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.0005192/0.3023, allocations: 0.6669 MB / 0.5646 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001354/0.3024, allocations: 52.11 kB / 0.5646 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3024, allocations: 192 / 0.5646 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.766e-05/0.3025, allocations: 27.92 kB / 0.5646 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.3026, allocations: 8 kB / 0.5646 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004367/0.303, allocations: 166.6 kB / 0.5648 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.248e-05/0.3031, allocations: 63.34 kB / 0.5649 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.693e-05/0.3031, allocations: 15.77 kB / 0.5649 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/0.3032, allocations: 15.44 kB / 0.5649 GB, free: 15.32 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3032, allocations: 0 / 0.5649 GB, free: 15.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02772/0.3309, allocations: 2.042 MB / 0.5669 GB, free: 13.37 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.81, allocations: 18.64 kB / 0.5669 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: 13.62588388286531]