Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.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.00176/0.00176, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002315/0.002315, allocations: 215.5 kB / 22.99 MB, free: 4.977 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.476/1.476, allocations: 207.7 MB / 233.8 MB, free: 9.793 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.2256/0.2256, allocations: 44.27 MB / 330.4 MB, free: 9.301 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.Math.Random.TestSpecial,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestSpecial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestSpecial,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestSpecial",fmuType="me",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.002202/0.002202, allocations: 68.98 kB / 467.5 MB, free: 4.344 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1285, allocations: 61.04 MB / 0.5161 GB, free: 7.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001664/0.1302, allocations: 0.5181 MB / 0.5167 GB, free: 6.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002904/0.1331, allocations: 1.925 MB / 0.5185 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.131e-05/0.1331, allocations: 0 / 0.5185 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.603e-05/0.1331, allocations: 4 kB / 0.5185 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.152e-06/0.1331, allocations: 0 / 0.5185 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.1346, allocations: 0.5064 MB / 0.519 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.551e-05/0.1347, allocations: 0 / 0.519 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.387e-05/0.1347, allocations: 4 kB / 0.519 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.499e-05/0.1347, allocations: 0 / 0.519 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.15e-05/0.1348, allocations: 0 / 0.519 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.005e-06/0.1348, allocations: 3.938 kB / 0.519 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001155/0.1359, allocations: 0.6669 MB / 0.5197 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.947e-06/0.1359, allocations: 0 / 0.5197 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.882e-05/0.136, allocations: 4 kB / 0.5197 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005686/0.1365, allocations: 371.1 kB / 0.52 GB, free: 3.152 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1365, allocations: 0 / 0.52 GB, free: 3.152 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1365, allocations: 4 kB / 0.5201 GB, free: 3.148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1365, allocations: 0 / 0.5201 GB, free: 3.148 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.0004553/0.137, allocations: 331.5 kB / 0.5204 GB, free: 2.789 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.137, allocations: 8.031 kB / 0.5204 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.399e-05/0.1371, allocations: 42.73 kB / 0.5204 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.563e-05/0.1371, allocations: 0.9375 kB / 0.5204 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.513e-05/0.1372, allocations: 102.5 kB / 0.5205 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1372, allocations: 384 / 0.5205 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.1372, allocations: 8.359 kB / 0.5205 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.1374, allocations: 63.47 kB / 0.5206 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.1374, allocations: 0 / 0.5206 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.1374, allocations: 0 / 0.5206 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1374, allocations: 4 kB / 0.5206 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.139e-05/0.1374, allocations: 37.69 kB / 0.5206 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002394/0.1377, allocations: 196 kB / 0.5208 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.58e-05/0.1377, allocations: 52.27 kB / 0.5209 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.516e-05/0.1378, allocations: 38.56 kB / 0.5209 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.1378, allocations: 3.938 kB / 0.5209 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.349e-05/0.1378, allocations: 60.27 kB / 0.521 GB, free: 2.051 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1378, allocations: 0 / 0.521 GB, free: 2.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002222/0.1381, allocations: 122.8 kB / 0.5211 GB, free: 1.906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.663e-05/0.1382, allocations: 85.23 kB / 0.5212 GB, free: 1.805 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.879e-05/0.1382, allocations: 89.86 kB / 0.5212 GB, free: 1.707 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.1382, allocations: 25.7 kB / 0.5213 GB, free: 1.676 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.207e-05/0.1383, allocations: 80.14 kB / 0.5213 GB, free: 1.594 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.1383, allocations: 7.953 kB / 0.5213 GB, free: 1.586 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.1383, allocations: 9.719 kB / 0.5214 GB, free: 1.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1385, allocations: 322.8 kB / 0.5217 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.788e-05/0.1385, allocations: 25.7 kB / 0.5217 GB, free: 1.215 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.714e-05/0.1385, allocations: 33.64 kB / 0.5217 GB, free: 1.176 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.808e-05/0.1386, allocations: 68.33 kB / 0.5218 GB, free: 1.094 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.1386, allocations: 3.938 kB / 0.5218 GB, free: 1.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001037/0.1387, allocations: 93.09 kB / 0.5219 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.919e-05/0.1387, allocations: 33.7 kB / 0.5219 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1387, allocations: 0 / 0.5219 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1388, allocations: 0 / 0.5219 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.62e-05/0.1388, allocations: 7.938 kB / 0.5219 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1388, allocations: 0 / 0.5219 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.565e-05/0.1388, allocations: 0 / 0.5219 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.1388, allocations: 0 / 0.5219 GB, free: 0.9336 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: 2 ($outputAlias_result,result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * 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.000119/0.1389, allocations: 147.5 kB / 0.5221 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.1389, allocations: 3.938 kB / 0.5221 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.821e-05/0.139, allocations: 3.156 kB / 0.5221 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.139, allocations: 0 / 0.5221 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.139, allocations: 4 kB / 0.5221 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.139, allocations: 0 / 0.5221 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003204/0.1393, allocations: 305 kB / 0.5224 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1393, allocations: 4 kB / 0.5224 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.791e-06/0.1393, allocations: 3.984 kB / 0.5224 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1393, allocations: 0 / 0.5224 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.1393, allocations: 0 / 0.5224 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1393, allocations: 4.031 kB / 0.5224 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1393, allocations: 3.938 kB / 0.5224 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.1395, allocations: 202.8 kB / 0.5226 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-06/0.1395, allocations: 4 kB / 0.5226 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.1395, allocations: 0 / 0.5226 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.485e-05/0.1395, allocations: 4 kB / 0.5226 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.689e-05/0.1396, allocations: 0 / 0.5226 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.1396, allocations: 4 kB / 0.5226 GB, free: 152 kB / 398.1 MB Notification: Performance of sorting global known variables: time 3.634e-05/0.1396, allocations: 75.28 kB / 0.5227 GB, free: 76 kB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1396, allocations: 0 / 0.5227 GB, free: 76 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004897/0.1401, allocations: 131.6 kB / 0.5228 GB, free: 15.95 MB / 414.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: 2 (result,$outputAlias_result) * Number of discrete states: 1 ($outputAlias_result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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.001179/0.1413, allocations: 0.9481 MB / 0.5237 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001621/0.1414, allocations: 122.8 kB / 0.5238 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1414, allocations: 0 / 0.5238 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.187e-05/0.1415, allocations: 85.09 kB / 0.5239 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.1417, allocations: 11.94 kB / 0.5239 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.1429, allocations: 1.32 MB / 0.5252 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.703e-05/0.143, allocations: 55.36 kB / 0.5253 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.406e-05/0.143, allocations: 3.984 kB / 0.5253 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.488e-05/0.143, allocations: 11.44 kB / 0.5253 GB, free: 13.17 MB / 414.1 MB Notification: Performance of SimCode: time 7.82e-07/0.143, allocations: 4.188 kB / 0.5253 GB, free: 13.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03642/0.1794, allocations: 4.941 MB / 0.5301 GB, free: 8.223 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.76, allocations: 9.188 kB / 0.5301 GB, free: 8.215 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestSpecial.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestSpecial/TestSpecial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.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.92937205079943]