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.001282/0.001282, allocations: 107.5 kB / 19.69 MB, free: 2.203 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.001427/0.001427, allocations: 226.3 kB / 23.01 MB, free: 5.039 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.501/1.501, allocations: 207.6 MB / 233.8 MB, free: 9.965 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.2486/0.2486, allocations: 44.25 MB / 330.3 MB, free: 9.594 MB / 270.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.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.002201/0.002201, allocations: 67.91 kB / 467.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1479, allocations: 61.05 MB / 0.5161 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001751/0.1496, allocations: 0.5104 MB / 0.5166 GB, free: 6.824 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003116/0.1528, allocations: 2.057 MB / 0.5187 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.709e-05/0.1528, allocations: 0 / 0.5187 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.378e-05/0.1528, allocations: 0 / 0.5187 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.623e-06/0.1528, allocations: 4 kB / 0.5187 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.1542, allocations: 0.4987 MB / 0.5191 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.203e-05/0.1543, allocations: 7.984 kB / 0.5192 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.1543, allocations: 3.938 kB / 0.5192 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.489e-05/0.1543, allocations: 3.938 kB / 0.5192 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.773e-05/0.1544, allocations: 0 / 0.5192 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.694e-06/0.1544, allocations: 0 / 0.5192 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.1555, allocations: 0.7255 MB / 0.5199 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.053e-05/0.1555, allocations: 3.984 kB / 0.5199 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.161e-05/0.1555, allocations: 0 / 0.5199 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005563/0.1561, allocations: 383.1 kB / 0.5202 GB, free: 3.117 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1561, allocations: 0 / 0.5202 GB, free: 3.117 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1561, allocations: 4 kB / 0.5202 GB, free: 3.113 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.1561, allocations: 3.938 kB / 0.5202 GB, free: 3.109 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.0004574/0.1566, allocations: 331.5 kB / 0.5206 GB, free: 2.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.1566, allocations: 12.03 kB / 0.5206 GB, free: 2.738 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.548e-05/0.1567, allocations: 30.75 kB / 0.5206 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.405e-05/0.1567, allocations: 4.938 kB / 0.5206 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.017e-05/0.1568, allocations: 102.5 kB / 0.5207 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.1568, allocations: 4.359 kB / 0.5207 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.163e-06/0.1568, allocations: 384 / 0.5207 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.1569, allocations: 41.77 kB / 0.5207 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1569, allocations: 0 / 0.5207 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.1569, allocations: 4 kB / 0.5208 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1569, allocations: 0 / 0.5208 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.118e-05/0.1569, allocations: 4 kB / 0.5208 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002785/0.1572, allocations: 204 kB / 0.521 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.357e-05/0.1573, allocations: 18.61 kB / 0.521 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.721e-05/0.1573, allocations: 12.86 kB / 0.521 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.1573, allocations: 0 / 0.521 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.817e-05/0.1574, allocations: 72.25 kB / 0.521 GB, free: 2.141 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.1574, allocations: 0 / 0.521 GB, free: 2.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002073/0.1576, allocations: 63.41 kB / 0.5211 GB, free: 2.066 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.895e-05/0.1577, allocations: 77.11 kB / 0.5212 GB, free: 1.973 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.048e-05/0.1577, allocations: 97.84 kB / 0.5213 GB, free: 1.867 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.1577, allocations: 25.7 kB / 0.5213 GB, free: 1.836 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/0.1578, allocations: 84.08 kB / 0.5214 GB, free: 1.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.136e-05/0.1578, allocations: 3.953 kB / 0.5214 GB, free: 1.746 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.1578, allocations: 17.84 kB / 0.5214 GB, free: 1.723 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.158, allocations: 314.8 kB / 0.5217 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.528e-05/0.158, allocations: 4 kB / 0.5217 GB, free: 1.402 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.172e-06/0.158, allocations: 3.938 kB / 0.5217 GB, free: 1.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.912e-05/0.158, allocations: 68.25 kB / 0.5218 GB, free: 1.316 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/0.158, allocations: 3.938 kB / 0.5218 GB, free: 1.312 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.776e-05/0.1581, allocations: 63.41 kB / 0.5218 GB, free: 1.238 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.1582, allocations: 37.73 kB / 0.5219 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.1582, allocations: 4 kB / 0.5219 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1582, allocations: 0 / 0.5219 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.265e-05/0.1582, allocations: 0 / 0.5219 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.1582, allocations: 3.984 kB / 0.5219 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.558e-05/0.1582, allocations: 0 / 0.5219 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.1582, allocations: 3.984 kB / 0.5219 GB, free: 1.184 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.0001091/0.1583, allocations: 147.4 kB / 0.522 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.1584, allocations: 0 / 0.522 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.648e-05/0.1584, allocations: 3.156 kB / 0.522 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1584, allocations: 8 kB / 0.522 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1584, allocations: 0 / 0.522 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1584, allocations: 0 / 0.522 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.1586, allocations: 275.3 kB / 0.5223 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1586, allocations: 4 kB / 0.5223 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.387e-06/0.1586, allocations: 0 / 0.5223 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1586, allocations: 3.984 kB / 0.5223 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.1586, allocations: 0 / 0.5223 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1586, allocations: 0 / 0.5223 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1586, allocations: 0 / 0.5223 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.1588, allocations: 185.2 kB / 0.5225 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-06/0.1588, allocations: 0 / 0.5225 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.1588, allocations: 0 / 0.5225 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.508e-05/0.1588, allocations: 4 kB / 0.5225 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.487e-05/0.1589, allocations: 0 / 0.5225 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.1589, allocations: 0 / 0.5225 GB, free: 484 kB / 398.1 MB Notification: Performance of sorting global known variables: time 3.369e-05/0.1589, allocations: 75.28 kB / 0.5226 GB, free: 408 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1589, allocations: 7.969 kB / 0.5226 GB, free: 400 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004178/0.1593, allocations: 127.6 kB / 0.5227 GB, free: 272 kB / 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: 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.001159/0.1605, allocations: 0.9097 MB / 0.5236 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001155/0.1606, allocations: 67.33 kB / 0.5236 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1606, allocations: 0 / 0.5236 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.032e-05/0.1606, allocations: 55.41 kB / 0.5237 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.1608, allocations: 4 kB / 0.5237 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.1619, allocations: 1.195 MB / 0.5249 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.1622, allocations: 0.6768 MB / 0.5255 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.047e-05/0.1622, allocations: 0 / 0.5255 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.88e-05/0.1623, allocations: 11.38 kB / 0.5255 GB, free: 13.18 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1623, allocations: 0 / 0.5255 GB, free: 13.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03282/0.1951, allocations: 4.502 MB / 0.5299 GB, free: 8.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.08, allocations: 4 kB / 0.5299 GB, free: 8.676 MB / 414.1 MB " [Timeout remaining time 649] (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.38881608700467]