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.0008003/0.0008003, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008683/0.0008683, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.843/0.843, allocations: 158.6 MB / 185 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] 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.1236/0.1236, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 406.8 MB, free: 2.281 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.471e-05/1.598e-05, allocations: 10.02 kB / 406.8 MB, free: 2.273 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.0009086/0.0009246, allocations: 0.4948 MB / 407.3 MB, free: 1.781 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004101/0.001335, allocations: 257 kB / 407.6 MB, free: 1.531 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.708e-05/0.001352, allocations: 0 / 407.6 MB, free: 1.531 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.266e-05/0.001364, allocations: 0 / 407.6 MB, free: 1.531 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.681e-06/0.00137, allocations: 4 kB / 407.6 MB, free: 1.527 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.001647, allocations: 55.69 kB / 407.6 MB, free: 1.473 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.682e-05/0.001694, allocations: 4 kB / 407.6 MB, free: 1.469 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.448e-05/0.001728, allocations: 0 / 407.6 MB, free: 1.469 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.654e-05/0.001755, allocations: 7.922 kB / 407.6 MB, free: 1.461 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.136e-05/0.001776, allocations: 0 / 407.6 MB, free: 1.461 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.315e-06/0.001785, allocations: 0 / 407.6 MB, free: 1.461 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.001898, allocations: 63.88 kB / 407.7 MB, free: 1.398 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.153e-06/0.001905, allocations: 4 kB / 407.7 MB, free: 1.395 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.717e-05/0.001922, allocations: 0 / 407.7 MB, free: 1.395 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.002032, allocations: 63.86 kB / 407.8 MB, free: 1.332 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.002034, allocations: 4 kB / 407.8 MB, free: 1.328 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.002034, allocations: 0 / 407.8 MB, free: 1.328 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.002037, allocations: 0 / 407.8 MB, free: 1.328 MB / 378.7 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.0002297/0.002267, allocations: 280 kB / 408 MB, free: 1.016 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.002303, allocations: 12.02 kB / 408 MB, free: 1.004 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.521e-05/0.002328, allocations: 34.69 kB / 408.1 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.046e-05/0.002349, allocations: 0.9375 kB / 408.1 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.855e-05/0.002397, allocations: 113.7 kB / 408.2 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.002406, allocations: 384 / 408.2 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.471e-06/0.002412, allocations: 384 / 408.2 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.948e-05/0.002491, allocations: 59.97 kB / 408.2 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.002498, allocations: 192 / 408.2 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.002504, allocations: 384 / 408.2 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.002509, allocations: 8.062 kB / 408.3 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.105e-05/0.00253, allocations: 33.69 kB / 408.3 MB, free: 0.707 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.099e-05/0.002611, allocations: 116.7 kB / 408.4 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.195e-05/0.002653, allocations: 52.31 kB / 408.5 MB, free: 496 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.561e-05/0.002669, allocations: 30.56 kB / 408.5 MB, free: 456 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.462e-06/0.002675, allocations: 3.984 kB / 408.5 MB, free: 452 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.002703, allocations: 60.33 kB / 408.5 MB, free: 376 kB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 4.71e-07/0.002704, allocations: 0 / 408.5 MB, free: 376 kB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001429/0.002847, allocations: 126.7 kB / 408.7 MB, free: 224 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.002883, allocations: 81.05 kB / 408.7 MB, free: 124 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.775e-05/0.002911, allocations: 89.86 kB / 408.8 MB, free: 24 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.002928, allocations: 25.7 kB / 408.9 MB, free: 15.99 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.665e-05/0.002945, allocations: 80.14 kB / 408.9 MB, free: 15.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.002958, allocations: 4 kB / 408.9 MB, free: 15.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.101e-05/0.002979, allocations: 13.7 kB / 409 MB, free: 15.89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.549e-05/0.003045, allocations: 310.8 kB / 409.3 MB, free: 15.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.507e-05/0.00306, allocations: 33.7 kB / 409.3 MB, free: 15.54 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.146e-05/0.003071, allocations: 29.83 kB / 409.3 MB, free: 15.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.284e-05/0.003104, allocations: 64.2 kB / 409.4 MB, free: 15.42 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.003106, allocations: 0 / 409.4 MB, free: 15.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.631e-05/0.003152, allocations: 97.09 kB / 409.5 MB, free: 15.31 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.003175, allocations: 29.7 kB / 409.5 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.003179, allocations: 0 / 409.5 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.00319, allocations: 0 / 409.5 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.003191, allocations: 4 kB / 409.5 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.003196, allocations: 3.938 kB / 409.5 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.598e-06/0.003205, allocations: 0 / 409.5 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.00321, allocations: 4.094 kB / 409.5 MB, free: 15.26 MB / 394.7 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.601e-05/0.003266, allocations: 143.5 kB / 409.7 MB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-06/0.003269, allocations: 0 / 409.7 MB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.166e-06/0.003278, allocations: 3 kB / 409.7 MB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.81e-07/0.003279, allocations: 0 / 409.7 MB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.003283, allocations: 3.938 kB / 409.7 MB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.003286, allocations: 0 / 409.7 MB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.113e-05/0.003337, allocations: 116.8 kB / 409.8 MB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.003338, allocations: 3.984 kB / 409.8 MB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.003339, allocations: 3.938 kB / 409.8 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.81e-07/0.003339, allocations: 4 kB / 409.8 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.003345, allocations: 0 / 409.8 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.003346, allocations: 4 kB / 409.8 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.003347, allocations: 7.875 kB / 409.8 MB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.864e-05/0.003406, allocations: 116.5 kB / 409.9 MB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-06/0.00341, allocations: 3.938 kB / 409.9 MB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.015e-06/0.003418, allocations: 0 / 409.9 MB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.368e-06/0.003422, allocations: 0 / 409.9 MB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.301e-05/0.003435, allocations: 11.94 kB / 409.9 MB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-06/0.003437, allocations: 0 / 409.9 MB, free: 14.76 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.766e-05/0.003454, allocations: 75.28 kB / 410 MB, free: 14.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.003454, allocations: 4.031 kB / 410 MB, free: 14.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001404/0.003595, allocations: 23.92 kB / 410 MB, free: 14.66 MB / 394.7 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.000485/0.00408, allocations: 0.8279 MB / 410.9 MB, free: 13.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.63e-05/0.004166, allocations: 114.8 kB / 411 MB, free: 13.67 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.004168, allocations: 0 / 411 MB, free: 13.67 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.393e-05/0.004192, allocations: 81.11 kB / 411.1 MB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.953e-05/0.004281, allocations: 11.86 kB / 411.1 MB, free: 13.56 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002259/0.004507, allocations: 148.2 kB / 411.2 MB, free: 13.37 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.935e-05/0.004536, allocations: 51.36 kB / 411.3 MB, free: 13.3 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.36e-06/0.004542, allocations: 8 kB / 411.3 MB, free: 13.29 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.378e-05/0.004555, allocations: 12.44 kB / 411.3 MB, free: 13.28 MB / 394.7 MB Notification: Performance of SimCode: time 6.91e-07/0.004556, allocations: 0 / 411.3 MB, free: 13.28 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01256/0.01712, allocations: 2.312 MB / 413.6 MB, free: 10.94 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.536/6.554, allocations: 7.906 kB / 413.6 MB, free: 10.93 MB / 394.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestInternal/TestInternal.csv","/var/lib/jenkins/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: 8.370167904533446]