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.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.001304/0.001304, allocations: 114.2 kB / 17.13 MB, free: 5.754 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.001399/0.001399, allocations: 191.7 kB / 20.08 MB, free: 2.852 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.544/1.544, allocations: 207.6 MB / 230.5 MB, free: 3.953 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.3316/0.3316, allocations: 44.23 MB / 326.5 MB, free: 7.191 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.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.TestFiles,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles",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.002161/0.002161, allocations: 75.88 kB / 462.2 MB, free: 1.062 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2576, allocations: 60.98 MB / 0.5109 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001585/0.2591, allocations: 0.4996 MB / 0.5114 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.2607, allocations: 1.269 MB / 0.5126 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.423e-05/0.2607, allocations: 0 / 0.5126 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.629e-05/0.2608, allocations: 3.938 kB / 0.5126 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.2609, allocations: 7.031 kB / 0.5126 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.2619, allocations: 258.6 kB / 0.5129 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.939e-05/0.262, allocations: 6.391 kB / 0.5129 GB, free: 11.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.576e-05/0.262, allocations: 1.125 kB / 0.5129 GB, free: 11.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.817e-05/0.2621, allocations: 5.281 kB / 0.5129 GB, free: 11.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.489e-05/0.2621, allocations: 4.938 kB / 0.5129 GB, free: 11.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.665e-06/0.2621, allocations: 0 / 0.5129 GB, free: 11.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003832/0.266, allocations: 0.6987 MB / 0.5136 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.137e-06/0.266, allocations: 0 / 0.5136 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.412e-05/0.266, allocations: 9.031 kB / 0.5136 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.2662, allocations: 181.9 kB / 0.5137 GB, free: 11.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2663, allocations: 0 / 0.5137 GB, free: 11.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2663, allocations: 1.969 kB / 0.5138 GB, free: 11.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.2663, allocations: 0 / 0.5138 GB, free: 11.1 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.0003281/0.2666, allocations: 388.4 kB / 0.5141 GB, free: 10.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.2666, allocations: 14.05 kB / 0.5141 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.622e-05/0.2667, allocations: 34.75 kB / 0.5142 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.475e-05/0.2667, allocations: 2.438 kB / 0.5142 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.909e-05/0.2667, allocations: 165.8 kB / 0.5143 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.2668, allocations: 384 / 0.5143 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.046e-06/0.2668, allocations: 9.891 kB / 0.5143 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.207e-05/0.2668, allocations: 31.14 kB / 0.5144 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.2668, allocations: 1.438 kB / 0.5144 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-06/0.2669, allocations: 4 kB / 0.5144 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2669, allocations: 0 / 0.5144 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.629e-05/0.2669, allocations: 1.469 kB / 0.5144 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.327e-05/0.267, allocations: 152.7 kB / 0.5145 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.249e-05/0.267, allocations: 15.95 kB / 0.5145 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.254e-05/0.267, allocations: 10.3 kB / 0.5145 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.076e-06/0.267, allocations: 3.938 kB / 0.5145 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.267, allocations: 61.7 kB / 0.5146 GB, free: 10.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.2671, allocations: 0 / 0.5146 GB, free: 10.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001522/0.2672, allocations: 68.73 kB / 0.5147 GB, free: 10.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.2672, allocations: 82.33 kB / 0.5148 GB, free: 9.914 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.516e-05/0.2673, allocations: 93.02 kB / 0.5148 GB, free: 9.816 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.502e-06/0.2673, allocations: 33.62 kB / 0.5149 GB, free: 9.777 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.157e-05/0.2673, allocations: 80.14 kB / 0.5149 GB, free: 9.695 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.2673, allocations: 5.516 kB / 0.515 GB, free: 9.691 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.22e-05/0.2673, allocations: 20.72 kB / 0.515 GB, free: 9.668 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.919e-05/0.2674, allocations: 310.8 kB / 0.5153 GB, free: 9.355 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.142e-05/0.2674, allocations: 5.656 kB / 0.5153 GB, free: 9.352 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.334e-06/0.2674, allocations: 1.5 kB / 0.5153 GB, free: 9.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.017e-05/0.2674, allocations: 59.17 kB / 0.5153 GB, free: 9.281 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2674, allocations: 0 / 0.5153 GB, free: 9.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.77e-05/0.2675, allocations: 72.3 kB / 0.5154 GB, free: 9.207 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.2675, allocations: 34.8 kB / 0.5154 GB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.2675, allocations: 0 / 0.5154 GB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.2675, allocations: 2.125 kB / 0.5154 GB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-07/0.2675, allocations: 0 / 0.5154 GB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.2675, allocations: 0 / 0.5154 GB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.598e-05/0.2675, allocations: 0 / 0.5154 GB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.351e-06/0.2675, allocations: 0.9062 kB / 0.5154 GB, free: 9.172 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 4.716e-05/0.2676, allocations: 142.2 kB / 0.5156 GB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.328e-06/0.2676, allocations: 5.375 kB / 0.5156 GB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.919e-06/0.2676, allocations: 7.125 kB / 0.5156 GB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.2676, allocations: 1.344 kB / 0.5156 GB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-06/0.2676, allocations: 0 / 0.5156 GB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2676, allocations: 0 / 0.5156 GB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.884e-05/0.2677, allocations: 152 kB / 0.5157 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2677, allocations: 3.938 kB / 0.5157 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.2677, allocations: 1.5 kB / 0.5157 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.2677, allocations: 0 / 0.5157 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.2677, allocations: 1.031 kB / 0.5157 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2677, allocations: 4 kB / 0.5157 GB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2677, allocations: 1.375 kB / 0.5157 GB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.139e-05/0.2677, allocations: 94.3 kB / 0.5158 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.344e-05/0.2678, allocations: 82.3 kB / 0.5159 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.2678, allocations: 1.406 kB / 0.5159 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.11e-05/0.2678, allocations: 0 / 0.5159 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.095e-05/0.2678, allocations: 1.25 kB / 0.5159 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.2678, allocations: 1.531 kB / 0.5159 GB, free: 8.598 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.696e-05/0.2678, allocations: 88.78 kB / 0.516 GB, free: 8.512 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2678, allocations: 0 / 0.516 GB, free: 8.512 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003/0.2681, allocations: 68.23 kB / 0.5161 GB, free: 8.488 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.0008018/0.2689, allocations: 0.8662 MB / 0.5169 GB, free: 7.676 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.557e-05/0.269, allocations: 61.02 kB / 0.517 GB, free: 7.609 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.269, allocations: 0 / 0.517 GB, free: 7.609 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.938e-05/0.269, allocations: 58.56 kB / 0.517 GB, free: 7.543 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.2692, allocations: 1.562 kB / 0.517 GB, free: 7.543 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003224/0.2695, allocations: 155 kB / 0.5172 GB, free: 7.375 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.437e-05/0.2696, allocations: 0.6742 MB / 0.5178 GB, free: 6.676 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.115e-06/0.2696, allocations: 1.375 kB / 0.5178 GB, free: 6.676 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.309e-05/0.2696, allocations: 8.812 kB / 0.5178 GB, free: 6.668 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2696, allocations: 0 / 0.5178 GB, free: 6.668 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03018/0.2998, allocations: 2.534 MB / 0.5203 GB, free: 4.867 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.592/8.891, allocations: 7.844 kB / 0.5203 GB, free: 4.859 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestFiles/TestFiles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.647132712882012]