Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002002/0.002002, allocations: 122.1 kB / 17.83 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002733/0.002733, allocations: 204.6 kB / 20.79 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 207.6 MB / 231.2 MB, free: 4.105 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3314/0.3314, allocations: 44.23 MB / 327.3 MB, free: 6.777 MB / 254.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002331/0.002331, allocations: 75.89 kB / 462.9 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2782, allocations: 61 MB / 0.5116 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001586/0.2798, allocations: 0.4958 MB / 0.5121 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.2815, allocations: 1.277 MB / 0.5133 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.55e-05/0.2815, allocations: 4 kB / 0.5133 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.635e-05/0.2815, allocations: 3.938 kB / 0.5134 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.2817, allocations: 3.938 kB / 0.5134 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009856/0.2827, allocations: 252.7 kB / 0.5136 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.106e-05/0.2827, allocations: 2.688 kB / 0.5136 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.235e-05/0.2827, allocations: 1.188 kB / 0.5136 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.896e-05/0.2828, allocations: 8.938 kB / 0.5136 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.967e-05/0.2828, allocations: 9.078 kB / 0.5136 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.364e-06/0.2829, allocations: 1.125 kB / 0.5136 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003885/0.2867, allocations: 0.6943 MB / 0.5143 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.027e-05/0.2868, allocations: 1.656 kB / 0.5143 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.413e-05/0.2868, allocations: 3.938 kB / 0.5143 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002777/0.2871, allocations: 174.7 kB / 0.5145 GB, free: 11.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2871, allocations: 7.984 kB / 0.5145 GB, free: 11.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2871, allocations: 0 / 0.5145 GB, free: 11.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.2871, allocations: 0.6562 kB / 0.5145 GB, free: 11.16 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.0003396/0.2874, allocations: 386.5 kB / 0.5148 GB, free: 10.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.2874, allocations: 13.14 kB / 0.5149 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.334e-05/0.2875, allocations: 192 / 0.5149 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.714e-05/0.2875, allocations: 35.78 kB / 0.5149 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.51e-05/0.2875, allocations: 2.219 kB / 0.5149 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.436e-05/0.2876, allocations: 164.4 kB / 0.515 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.2876, allocations: 6 kB / 0.5151 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-06/0.2876, allocations: 8.125 kB / 0.5151 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.223e-05/0.2877, allocations: 36.25 kB / 0.5151 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.2877, allocations: 1.125 kB / 0.5151 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.2877, allocations: 0 / 0.5151 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.2877, allocations: 3.984 kB / 0.5151 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.501e-05/0.2877, allocations: 1.469 kB / 0.5151 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.361e-05/0.2878, allocations: 147.5 kB / 0.5152 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.833e-05/0.2878, allocations: 25.02 kB / 0.5153 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.35e-05/0.2879, allocations: 10.05 kB / 0.5153 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.2879, allocations: 1.312 kB / 0.5153 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.2879, allocations: 64.2 kB / 0.5153 GB, free: 10.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.2879, allocations: 1.312 kB / 0.5153 GB, free: 10.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001636/0.2881, allocations: 64.05 kB / 0.5154 GB, free: 10.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.2881, allocations: 82.48 kB / 0.5155 GB, free: 9.969 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.624e-05/0.2881, allocations: 105 kB / 0.5156 GB, free: 9.859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.464e-06/0.2881, allocations: 25.7 kB / 0.5156 GB, free: 9.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.561e-05/0.2882, allocations: 84.12 kB / 0.5157 GB, free: 9.742 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/0.2882, allocations: 5.234 kB / 0.5157 GB, free: 9.738 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/0.2882, allocations: 12.28 kB / 0.5157 GB, free: 9.723 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.154e-05/0.2882, allocations: 310.8 kB / 0.516 GB, free: 9.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.03e-05/0.2883, allocations: 1.5 kB / 0.516 GB, free: 9.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.604e-06/0.2883, allocations: 9.281 kB / 0.516 GB, free: 9.402 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.107e-05/0.2883, allocations: 59.95 kB / 0.5161 GB, free: 9.332 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2883, allocations: 0 / 0.5161 GB, free: 9.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.862e-05/0.2884, allocations: 72.11 kB / 0.5161 GB, free: 9.258 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.2884, allocations: 31.27 kB / 0.5162 GB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.2884, allocations: 0 / 0.5162 GB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.2884, allocations: 1.094 kB / 0.5162 GB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.2884, allocations: 0 / 0.5162 GB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.2884, allocations: 0 / 0.5162 GB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.775e-05/0.2884, allocations: 5.25 kB / 0.5162 GB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.2884, allocations: 1.062 kB / 0.5162 GB, free: 9.223 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.212e-05/0.2885, allocations: 141.8 kB / 0.5163 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.001e-05/0.2885, allocations: 5.031 kB / 0.5163 GB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.03e-05/0.2885, allocations: 4.219 kB / 0.5163 GB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.2885, allocations: 0 / 0.5163 GB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2885, allocations: 0 / 0.5163 GB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2885, allocations: 1.312 kB / 0.5163 GB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.132e-05/0.2886, allocations: 151.6 kB / 0.5165 GB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.2886, allocations: 4 kB / 0.5165 GB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.1e-07/0.2886, allocations: 0 / 0.5165 GB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.2886, allocations: 1.125 kB / 0.5165 GB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.2886, allocations: 1.156 kB / 0.5165 GB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.2886, allocations: 0 / 0.5165 GB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2886, allocations: 0 / 0.5165 GB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.305e-05/0.2886, allocations: 99.33 kB / 0.5166 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.353e-05/0.2887, allocations: 78.23 kB / 0.5166 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.2887, allocations: 9.094 kB / 0.5166 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.174e-05/0.2887, allocations: 1.375 kB / 0.5166 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/0.2887, allocations: 0 / 0.5166 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.2887, allocations: 9.312 kB / 0.5167 GB, free: 8.641 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.807e-05/0.2887, allocations: 76.72 kB / 0.5167 GB, free: 8.566 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2887, allocations: 3.938 kB / 0.5167 GB, free: 8.562 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003005/0.289, allocations: 64.36 kB / 0.5168 GB, free: 8.543 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: 1 (result) * Number of discrete states: 1 (result) * 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: 1 * 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.0008893/0.2899, allocations: 0.8597 MB / 0.5176 GB, free: 7.738 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.185e-05/0.29, allocations: 68.05 kB / 0.5177 GB, free: 7.664 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.29, allocations: 0 / 0.5177 GB, free: 7.664 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.851e-05/0.29, allocations: 58.62 kB / 0.5178 GB, free: 7.598 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.2901, allocations: 6.094 kB / 0.5178 GB, free: 7.594 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.2904, allocations: 147.7 kB / 0.5179 GB, free: 7.434 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.564e-05/0.2905, allocations: 0.6755 MB / 0.5186 GB, free: 6.734 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.268e-06/0.2905, allocations: 0 / 0.5186 GB, free: 6.734 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.313e-05/0.2906, allocations: 9.344 kB / 0.5186 GB, free: 6.727 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2906, allocations: 4 kB / 0.5186 GB, free: 6.723 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01914/0.3097, allocations: 2.571 MB / 0.5211 GB, free: 4.793 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.546/8.856, allocations: 8 kB / 0.5211 GB, free: 4.785 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestFiles/TestFiles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.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.659869113995228]