Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.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.001842/0.001842, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001931/0.001931, allocations: 215.5 kB / 23.78 MB, free: 4.551 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.473/1.473, allocations: 207.7 MB / 234.6 MB, free: 9.797 MB / 190.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.2332/0.2332, allocations: 44.26 MB / 331.1 MB, free: 9.328 MB / 270.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.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal",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.003792/0.003792, allocations: 73.61 kB / 468.3 MB, free: 4.402 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1279, allocations: 61.05 MB / 0.5169 GB, free: 7.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.002155/0.1301, allocations: 0.4912 MB / 0.5174 GB, free: 6.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008131/0.1309, allocations: 251.2 kB / 0.5176 GB, free: 6.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.061e-05/0.1309, allocations: 0 / 0.5176 GB, free: 6.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.459e-05/0.1309, allocations: 3.938 kB / 0.5176 GB, free: 6.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.264e-06/0.1309, allocations: 0 / 0.5176 GB, free: 6.484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004008/0.1313, allocations: 55.8 kB / 0.5177 GB, free: 6.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.7e-05/0.1314, allocations: 8 kB / 0.5177 GB, free: 6.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.914e-05/0.1315, allocations: 0 / 0.5177 GB, free: 6.422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.828e-05/0.1315, allocations: 4 kB / 0.5177 GB, free: 6.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.412e-05/0.1315, allocations: 3.938 kB / 0.5177 GB, free: 6.414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.658e-06/0.1315, allocations: 0 / 0.5177 GB, free: 6.414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001876/0.1317, allocations: 63.95 kB / 0.5177 GB, free: 6.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.1317, allocations: 4 kB / 0.5178 GB, free: 6.348 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/0.1318, allocations: 3.984 kB / 0.5178 GB, free: 6.344 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.1319, allocations: 51.88 kB / 0.5178 GB, free: 6.293 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1319, allocations: 4 kB / 0.5178 GB, free: 6.289 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1319, allocations: 0 / 0.5178 GB, free: 6.289 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1319, allocations: 0 / 0.5178 GB, free: 6.289 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003735/0.1323, allocations: 283.9 kB / 0.5181 GB, free: 5.973 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.1323, allocations: 12.03 kB / 0.5181 GB, free: 5.961 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.371e-05/0.1324, allocations: 4.188 kB / 0.5181 GB, free: 5.957 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.587e-05/0.1324, allocations: 30.75 kB / 0.5181 GB, free: 5.918 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.1324, allocations: 4.891 kB / 0.5181 GB, free: 5.914 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.026e-05/0.1325, allocations: 110.5 kB / 0.5182 GB, free: 5.781 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-06/0.1325, allocations: 384 / 0.5182 GB, free: 5.781 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.1325, allocations: 12.25 kB / 0.5182 GB, free: 5.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.1327, allocations: 55.72 kB / 0.5183 GB, free: 5.703 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.1327, allocations: 0 / 0.5183 GB, free: 5.703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.1327, allocations: 4 kB / 0.5183 GB, free: 5.699 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1327, allocations: 4 kB / 0.5183 GB, free: 5.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.456e-05/0.1327, allocations: 25.7 kB / 0.5183 GB, free: 5.664 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001369/0.1328, allocations: 124.8 kB / 0.5185 GB, free: 5.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.1329, allocations: 40.28 kB / 0.5185 GB, free: 5.445 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.398e-05/0.133, allocations: 39.7 kB / 0.5185 GB, free: 5.398 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-06/0.133, allocations: 0 / 0.5185 GB, free: 5.398 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.926e-05/0.133, allocations: 64.2 kB / 0.5186 GB, free: 5.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.133, allocations: 0 / 0.5186 GB, free: 5.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002328/0.1333, allocations: 114.8 kB / 0.5187 GB, free: 5.184 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.1333, allocations: 81.11 kB / 0.5188 GB, free: 5.086 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.442e-05/0.1334, allocations: 93.98 kB / 0.5189 GB, free: 4.984 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.1334, allocations: 29.7 kB / 0.5189 GB, free: 4.949 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.644e-05/0.1335, allocations: 80.14 kB / 0.519 GB, free: 4.867 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.1335, allocations: 0 / 0.519 GB, free: 4.867 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/0.1335, allocations: 13.72 kB / 0.519 GB, free: 4.848 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.1337, allocations: 310.8 kB / 0.5193 GB, free: 4.535 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.617e-05/0.1338, allocations: 33.62 kB / 0.5193 GB, free: 4.496 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.209e-05/0.1338, allocations: 29.7 kB / 0.5193 GB, free: 4.461 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.935e-05/0.1338, allocations: 64.27 kB / 0.5194 GB, free: 4.383 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1338, allocations: 0 / 0.5194 GB, free: 4.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001024/0.1339, allocations: 89.16 kB / 0.5195 GB, free: 4.277 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.134, allocations: 37.64 kB / 0.5195 GB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.134, allocations: 0 / 0.5195 GB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.134, allocations: 0 / 0.5195 GB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.134, allocations: 0 / 0.5195 GB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.134, allocations: 3.938 kB / 0.5195 GB, free: 4.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.805e-05/0.134, allocations: 3.938 kB / 0.5195 GB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.134, allocations: 4 kB / 0.5195 GB, free: 4.223 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: 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 0.0001036/0.1341, allocations: 139.5 kB / 0.5197 GB, free: 4.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/0.1342, allocations: 11.95 kB / 0.5197 GB, free: 4.059 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.456e-05/0.1342, allocations: 14.98 kB / 0.5197 GB, free: 4.047 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1342, allocations: 0 / 0.5197 GB, free: 4.047 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1342, allocations: 0 / 0.5197 GB, free: 4.047 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1342, allocations: 0 / 0.5197 GB, free: 4.047 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.1343, allocations: 116.8 kB / 0.5198 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.1343, allocations: 4 kB / 0.5198 GB, free: 3.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.1343, allocations: 0 / 0.5198 GB, free: 3.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1343, allocations: 3.938 kB / 0.5198 GB, free: 3.883 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.1343, allocations: 3.938 kB / 0.5198 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1343, allocations: 0 / 0.5198 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1343, allocations: 0 / 0.5198 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.1344, allocations: 120.5 kB / 0.5199 GB, free: 3.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.664e-06/0.1344, allocations: 4 kB / 0.5199 GB, free: 3.727 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.1345, allocations: 7.922 kB / 0.5199 GB, free: 3.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.028e-05/0.1345, allocations: 0 / 0.5199 GB, free: 3.719 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/0.1345, allocations: 0 / 0.5199 GB, free: 3.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.1345, allocations: 0 / 0.5199 GB, free: 3.719 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.448e-05/0.1345, allocations: 83.22 kB / 0.52 GB, free: 3.637 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1345, allocations: 0 / 0.52 GB, free: 3.637 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.1348, allocations: 19.94 kB / 0.52 GB, free: 3.617 MB / 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: 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.001064/0.1358, allocations: 0.8363 MB / 0.5209 GB, free: 2.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.136, allocations: 114.7 kB / 0.521 GB, free: 2.633 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.136, allocations: 4 kB / 0.521 GB, free: 2.629 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.1361, allocations: 81.05 kB / 0.521 GB, free: 2.531 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.1362, allocations: 8.125 kB / 0.5211 GB, free: 2.523 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003716/0.1366, allocations: 148.2 kB / 0.5212 GB, free: 2.332 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.197e-05/0.1367, allocations: 59.34 kB / 0.5213 GB, free: 2.254 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.41e-06/0.1367, allocations: 0 / 0.5213 GB, free: 2.254 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.642e-05/0.1367, allocations: 7.438 kB / 0.5213 GB, free: 2.246 MB / 398.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1367, allocations: 0 / 0.5213 GB, free: 2.246 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/0.1591, allocations: 1.798 MB / 0.523 GB, free: 452 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.04, allocations: 8 kB / 0.523 GB, free: 444 kB / 398.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestInternal/TestInternal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.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: 14.961148310103454]