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.001416/0.001416, allocations: 111.7 kB / 19.69 MB, free: 2.188 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.00147/0.00147, allocations: 212.8 kB / 23 MB, free: 5.004 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.513/1.513, allocations: 207.6 MB / 233.8 MB, free: 10 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.2561/0.2561, allocations: 44.26 MB / 330.3 MB, free: 9.512 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.002549/0.002549, allocations: 67.89 kB / 467.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1499, allocations: 61.04 MB / 0.5161 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.002114/0.152, allocations: 0.5173 MB / 0.5166 GB, free: 6.824 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003577/0.1556, allocations: 2.057 MB / 0.5187 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.908e-05/0.1556, allocations: 0 / 0.5187 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.431e-05/0.1556, allocations: 0 / 0.5187 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.572e-06/0.1556, allocations: 4 kB / 0.5187 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001753/0.1574, allocations: 0.4986 MB / 0.5191 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.837e-05/0.1574, allocations: 8 kB / 0.5192 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.031e-05/0.1575, allocations: 0 / 0.5192 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.561e-05/0.1575, allocations: 0 / 0.5192 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.092e-05/0.1575, allocations: 7.922 kB / 0.5192 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.893e-06/0.1575, allocations: 0 / 0.5192 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.159, allocations: 0.7255 MB / 0.5199 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.142e-05/0.159, allocations: 0 / 0.5199 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/0.159, allocations: 4 kB / 0.5199 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009432/0.16, allocations: 375.1 kB / 0.5202 GB, free: 3.125 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.16, allocations: 0 / 0.5202 GB, free: 3.125 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.429e-06/0.16, allocations: 4 kB / 0.5202 GB, free: 3.121 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.16, allocations: 0 / 0.5202 GB, free: 3.121 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.000627/0.1606, allocations: 335.4 kB / 0.5206 GB, free: 2.758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.1607, allocations: 12.03 kB / 0.5206 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001023/0.1608, allocations: 38.75 kB / 0.5206 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.1608, allocations: 4.938 kB / 0.5206 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.1609, allocations: 102.5 kB / 0.5207 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.1609, allocations: 384 / 0.5207 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.1609, allocations: 384 / 0.5207 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.1611, allocations: 37.81 kB / 0.5207 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1611, allocations: 3.984 kB / 0.5207 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.1611, allocations: 7.938 kB / 0.5208 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1611, allocations: 4 kB / 0.5208 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.82e-05/0.1611, allocations: 0 / 0.5208 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003835/0.1615, allocations: 204 kB / 0.5209 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.021e-05/0.1616, allocations: 22.61 kB / 0.521 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.774e-05/0.1616, allocations: 8.922 kB / 0.521 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.1616, allocations: 0 / 0.521 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.031e-05/0.1617, allocations: 68.2 kB / 0.521 GB, free: 2.145 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.1617, allocations: 0 / 0.521 GB, free: 2.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002518/0.162, allocations: 75.38 kB / 0.5211 GB, free: 2.059 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.455e-05/0.162, allocations: 77.11 kB / 0.5212 GB, free: 1.965 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.315e-05/0.1621, allocations: 89.86 kB / 0.5213 GB, free: 1.867 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.1621, allocations: 25.7 kB / 0.5213 GB, free: 1.836 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.27e-05/0.1622, allocations: 84.12 kB / 0.5214 GB, free: 1.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.1622, allocations: 3.953 kB / 0.5214 GB, free: 1.746 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.1623, allocations: 21.84 kB / 0.5214 GB, free: 1.719 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.1624, allocations: 314.8 kB / 0.5217 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.683e-05/0.1625, allocations: 4 kB / 0.5217 GB, free: 1.398 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.055e-06/0.1625, allocations: 0 / 0.5217 GB, free: 1.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.678e-05/0.1625, allocations: 76.14 kB / 0.5218 GB, free: 1.309 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1625, allocations: 3.938 kB / 0.5218 GB, free: 1.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001095/0.1626, allocations: 67.39 kB / 0.5218 GB, free: 1.227 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.242e-05/0.1627, allocations: 37.8 kB / 0.5219 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1627, allocations: 0 / 0.5219 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.1627, allocations: 0 / 0.5219 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.713e-05/0.1627, allocations: 0 / 0.5219 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1627, allocations: 0 / 0.5219 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.912e-05/0.1628, allocations: 0 / 0.5219 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.1628, allocations: 3.984 kB / 0.5219 GB, free: 1.18 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.0001443/0.1629, allocations: 139.5 kB / 0.522 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.1629, allocations: 0 / 0.522 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.164e-05/0.163, allocations: 3.156 kB / 0.522 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.163, allocations: 8 kB / 0.522 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.163, allocations: 3.938 kB / 0.522 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.163, allocations: 0 / 0.522 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003084/0.1633, allocations: 271.3 kB / 0.5223 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.1633, allocations: 7.984 kB / 0.5223 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.839e-06/0.1633, allocations: 0 / 0.5223 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1633, allocations: 0 / 0.5223 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.1633, allocations: 0 / 0.5223 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.1633, allocations: 4 kB / 0.5223 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1633, allocations: 4.031 kB / 0.5223 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.1635, allocations: 177.1 kB / 0.5225 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-06/0.1635, allocations: 0 / 0.5225 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.1635, allocations: 0 / 0.5225 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.853e-05/0.1636, allocations: 4 kB / 0.5225 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.845e-05/0.1636, allocations: 4 kB / 0.5225 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.1636, allocations: 0 / 0.5225 GB, free: 484 kB / 398.1 MB Notification: Performance of sorting global known variables: time 3.889e-05/0.1636, allocations: 79.31 kB / 0.5226 GB, free: 404 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1636, allocations: 0 / 0.5226 GB, free: 404 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006191/0.1642, allocations: 127.6 kB / 0.5227 GB, free: 276 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.001474/0.1657, allocations: 0.9136 MB / 0.5236 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001357/0.1658, allocations: 67.39 kB / 0.5236 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1659, allocations: 0 / 0.5236 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.884e-05/0.1659, 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.0002045/0.1661, allocations: 3.938 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.001265/0.1674, allocations: 1.199 MB / 0.5249 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.1677, allocations: 0.6768 MB / 0.5255 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.27e-05/0.1677, allocations: 0 / 0.5255 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/0.1678, allocations: 7.438 kB / 0.5255 GB, free: 13.18 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1678, allocations: 0 / 0.5255 GB, free: 13.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03505/0.2028, allocations: 4.5 MB / 0.5299 GB, free: 8.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.34, allocations: 11.53 kB / 0.5299 GB, free: 8.672 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestSpecial_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 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.mat","/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.554216098971665]