Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.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.001398/0.001398, allocations: 117.9 kB / 17.13 MB, free: 5.926 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.001447/0.001447, allocations: 192.7 kB / 20.07 MB, free: 2.992 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.48/1.48, allocations: 207.6 MB / 230.5 MB, free: 4.039 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.4022/0.4022, allocations: 44.24 MB / 326.5 MB, free: 6.809 MB / 254.1 MB " [Timeout remaining time 179] 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.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002139/0.002139, allocations: 71.89 kB / 462.2 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2593, allocations: 60.99 MB / 0.5109 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001744/0.2611, allocations: 0.4975 MB / 0.5114 GB, free: 12.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003218/0.2643, allocations: 2.055 MB / 0.5134 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.653e-05/0.2643, allocations: 0 / 0.5134 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.888e-05/0.2643, allocations: 0 / 0.5134 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.018e-05/0.2644, allocations: 0 / 0.5134 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.2655, allocations: 377.4 kB / 0.5137 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.583e-05/0.2656, allocations: 2.906 kB / 0.5137 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.2656, allocations: 1.531 kB / 0.5137 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.664e-05/0.2656, allocations: 5.469 kB / 0.5137 GB, free: 11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01949/0.2851, allocations: 3.385 MB / 0.517 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.2851, allocations: 0 / 0.517 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.807e-05/0.2852, allocations: 4 kB / 0.5171 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.064e-05/0.2852, allocations: 4 kB / 0.5171 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.481e-05/0.2852, allocations: 0 / 0.5171 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.2855, allocations: 15.98 kB / 0.5171 GB, free: 8.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2855, allocations: 0 / 0.5171 GB, free: 8.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2855, allocations: 0 / 0.5171 GB, free: 8.707 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.2855, allocations: 0 / 0.5171 GB, free: 8.707 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002468/0.2857, allocations: 311.6 kB / 0.5174 GB, free: 8.355 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.2858, allocations: 11.89 kB / 0.5174 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.732e-05/0.2858, allocations: 114 kB / 0.5175 GB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.286, allocations: 96.14 kB / 0.5176 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.359e-05/0.2861, allocations: 235.7 kB / 0.5178 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.2861, allocations: 150.9 kB / 0.5179 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.2861, allocations: 158.5 kB / 0.5181 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.086e-05/0.2861, allocations: 101 kB / 0.5182 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.2861, allocations: 75.28 kB / 0.5183 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.2862, allocations: 154.6 kB / 0.5184 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-05/0.2862, allocations: 150.6 kB / 0.5186 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.936e-05/0.2862, allocations: 154.5 kB / 0.5187 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/0.2864, allocations: 453.9 kB / 0.5191 GB, free: 6.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.368e-05/0.2864, allocations: 173.1 kB / 0.5193 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.582e-05/0.2864, allocations: 80.14 kB / 0.5194 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.2865, allocations: 75.28 kB / 0.5195 GB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.2865, allocations: 109.8 kB / 0.5196 GB, free: 5.977 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.2865, allocations: 3.938 kB / 0.5196 GB, free: 5.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.832e-05/0.2866, allocations: 29.7 kB / 0.5196 GB, free: 5.938 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.2866, allocations: 182.1 kB / 0.5198 GB, free: 5.734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.146e-05/0.2867, allocations: 93.84 kB / 0.5199 GB, free: 5.633 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.2867, allocations: 25.7 kB / 0.5199 GB, free: 5.602 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.581e-05/0.2867, allocations: 84.14 kB / 0.52 GB, free: 5.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.383e-06/0.2867, allocations: 0 / 0.52 GB, free: 5.516 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.027e-05/0.2867, allocations: 13.72 kB / 0.52 GB, free: 5.496 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.393e-05/0.2868, allocations: 314.8 kB / 0.5203 GB, free: 5.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.509e-06/0.2868, allocations: 4.125 kB / 0.5203 GB, free: 5.176 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.899e-05/0.2868, allocations: 9.719 kB / 0.5203 GB, free: 5.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.375e-05/0.2868, allocations: 75.28 kB / 0.5204 GB, free: 5.086 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/0.2868, allocations: 75.28 kB / 0.5204 GB, free: 5.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.911e-05/0.2869, allocations: 41.56 kB / 0.5205 GB, free: 4.965 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.2869, allocations: 79.28 kB / 0.5205 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.2869, allocations: 79.28 kB / 0.5206 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.381e-05/0.2869, allocations: 166.6 kB / 0.5208 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.222e-05/0.2869, allocations: 79.28 kB / 0.5209 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.051e-05/0.287, allocations: 150.6 kB / 0.521 GB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.961e-05/0.287, allocations: 83.22 kB / 0.5211 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.287, allocations: 75.28 kB / 0.5211 GB, free: 4.262 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 (0): * Single equations (assignments): 0 * 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 6.24e-05/0.2871, allocations: 272.3 kB / 0.5214 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.646e-05/0.2871, allocations: 108.9 kB / 0.5215 GB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.395e-05/0.2872, allocations: 108.1 kB / 0.5216 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.125e-05/0.2872, allocations: 180.2 kB / 0.5218 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.673e-05/0.2872, allocations: 180.3 kB / 0.522 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.14e-05/0.2872, allocations: 180.2 kB / 0.5221 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.2873, allocations: 409.1 kB / 0.5225 GB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/0.2874, allocations: 105 kB / 0.5226 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.44e-05/0.2874, allocations: 108.9 kB / 0.5227 GB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.102e-05/0.2874, allocations: 176.3 kB / 0.5229 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.2874, allocations: 176.3 kB / 0.5231 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.587e-05/0.2874, allocations: 188.2 kB / 0.5232 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.547e-05/0.2875, allocations: 180.3 kB / 0.5234 GB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.7e-05/0.2875, allocations: 315.7 kB / 0.5237 GB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.516e-05/0.2876, allocations: 182 kB / 0.5239 GB, free: 1.254 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.2876, allocations: 180.6 kB / 0.5241 GB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.27e-05/0.2877, allocations: 116.9 kB / 0.5242 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.2877, allocations: 184.2 kB / 0.5243 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.2877, allocations: 101 kB / 0.5244 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.127e-05/0.2877, allocations: 79.28 kB / 0.5245 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2877, allocations: 0 / 0.5245 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000249/0.288, allocations: 0 / 0.5245 GB, free: 0.5781 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 (0): * Single equations (assignments): 0 * 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.000309/0.2883, allocations: 0.8165 MB / 0.5253 GB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 5.073e-05/0.2884, allocations: 4 kB / 0.5253 GB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2884, allocations: 0 / 0.5253 GB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.2884, allocations: 0 / 0.5253 GB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.2888, allocations: 467.5 kB / 0.5258 GB, free: 15.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004048/0.2892, allocations: 185.8 kB / 0.5259 GB, free: 15.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.2895, allocations: 0.6729 MB / 0.5266 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.118e-05/0.2895, allocations: 3.938 kB / 0.5266 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.414e-05/0.2895, allocations: 11.44 kB / 0.5266 GB, free: 14.32 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2895, allocations: 0 / 0.5266 GB, free: 14.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02176/0.3113, allocations: 1.01 MB / 0.5276 GB, free: 13.28 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.313/8.624, allocations: 8.062 kB / 0.5276 GB, free: 13.27 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.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.398912132252008]