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.001294/0.001294, allocations: 109 kB / 20.48 MB, free: 1.492 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.001404/0.001404, allocations: 211.9 kB / 23.79 MB, free: 4.707 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.43/1.43, allocations: 207.6 MB / 234.6 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.2592/0.2592, allocations: 44.25 MB / 331.1 MB, free: 9.531 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestSpecial,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestSpecial",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.002263/0.002263, allocations: 76.41 kB / 468.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1661, allocations: 61.04 MB / 0.5169 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001955/0.1681, allocations: 0.5212 MB / 0.5174 GB, free: 6.832 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003514/0.1716, allocations: 2.057 MB / 0.5194 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.143e-05/0.1716, allocations: 0 / 0.5194 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.165e-05/0.1716, allocations: 0 / 0.5194 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.39e-06/0.1716, allocations: 0 / 0.5194 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.1734, allocations: 0.4948 MB / 0.5199 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.02e-05/0.1734, allocations: 4 kB / 0.5199 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.83e-05/0.1734, allocations: 0 / 0.5199 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.651e-05/0.1735, allocations: 3.984 kB / 0.5199 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.267e-05/0.1735, allocations: 15.88 kB / 0.5199 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.153e-06/0.1735, allocations: 3.938 kB / 0.5199 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.1748, allocations: 0.7216 MB / 0.5206 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.786e-06/0.1748, allocations: 0 / 0.5206 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.233e-05/0.1748, allocations: 7.984 kB / 0.5206 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007952/0.1756, allocations: 371.2 kB / 0.521 GB, free: 3.133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1756, allocations: 4 kB / 0.521 GB, free: 3.129 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1756, allocations: 0 / 0.521 GB, free: 3.129 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.309e-06/0.1756, allocations: 0 / 0.521 GB, free: 3.129 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.0005199/0.1761, allocations: 339.3 kB / 0.5213 GB, free: 2.762 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.1761, allocations: 12.03 kB / 0.5213 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.355e-05/0.1762, allocations: 8.172 kB / 0.5213 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.54e-05/0.1762, allocations: 30.75 kB / 0.5214 GB, free: 2.703 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.404e-05/0.1762, allocations: 0.9375 kB / 0.5214 GB, free: 2.703 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.25e-05/0.1763, allocations: 110.5 kB / 0.5215 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.1763, allocations: 4.375 kB / 0.5215 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.1763, allocations: 384 / 0.5215 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.983e-05/0.1764, allocations: 33.64 kB / 0.5215 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.1764, allocations: 0 / 0.5215 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.1765, allocations: 0 / 0.5215 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.1765, allocations: 3.984 kB / 0.5215 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.756e-05/0.1765, allocations: 7.938 kB / 0.5215 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002436/0.1767, allocations: 204 kB / 0.5217 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.932e-05/0.1768, allocations: 22.56 kB / 0.5217 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.72e-05/0.1768, allocations: 12.92 kB / 0.5218 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.351e-06/0.1768, allocations: 0 / 0.5218 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.4e-05/0.1769, allocations: 56.27 kB / 0.5218 GB, free: 2.156 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.1769, allocations: 0 / 0.5218 GB, free: 2.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002085/0.1771, allocations: 75.45 kB / 0.5219 GB, free: 2.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/0.1771, allocations: 81.11 kB / 0.522 GB, free: 1.973 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.013e-05/0.1772, allocations: 89.86 kB / 0.522 GB, free: 1.875 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.1772, allocations: 25.7 kB / 0.5221 GB, free: 1.844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.706e-05/0.1773, allocations: 84.14 kB / 0.5222 GB, free: 1.758 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.1773, allocations: 3.953 kB / 0.5222 GB, free: 1.754 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.1773, allocations: 21.66 kB / 0.5222 GB, free: 1.727 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.1775, allocations: 314.8 kB / 0.5225 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.56e-05/0.1775, allocations: 4 kB / 0.5225 GB, free: 1.406 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.077e-06/0.1775, allocations: 4 kB / 0.5225 GB, free: 1.402 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.273e-05/0.1776, allocations: 68.2 kB / 0.5225 GB, free: 1.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1776, allocations: 0 / 0.5225 GB, free: 1.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.236e-05/0.1777, allocations: 71.33 kB / 0.5226 GB, free: 1.238 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.704e-05/0.1777, allocations: 33.7 kB / 0.5226 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.1777, allocations: 3.938 kB / 0.5227 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1777, allocations: 0 / 0.5227 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.736e-05/0.1777, allocations: 0 / 0.5227 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1777, allocations: 4.094 kB / 0.5227 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.842e-05/0.1778, allocations: 4 kB / 0.5227 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.1778, allocations: 0 / 0.5227 GB, free: 1.188 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.0001131/0.1779, allocations: 135.5 kB / 0.5228 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.1779, allocations: 4 kB / 0.5228 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.995e-05/0.1779, allocations: 7.141 kB / 0.5228 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1779, allocations: 0 / 0.5228 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1779, allocations: 0 / 0.5228 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1779, allocations: 0 / 0.5228 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002983/0.1782, allocations: 287.2 kB / 0.5231 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1782, allocations: 0 / 0.5231 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.55e-06/0.1782, allocations: 0 / 0.5231 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1782, allocations: 0 / 0.5231 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.1782, allocations: 4 kB / 0.5231 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1782, allocations: 4 kB / 0.5231 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.1782, allocations: 0 / 0.5231 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.1784, allocations: 177.2 kB / 0.5233 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.732e-06/0.1784, allocations: 4 kB / 0.5233 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.1784, allocations: 7.922 kB / 0.5233 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.541e-05/0.1785, allocations: 0 / 0.5233 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.479e-05/0.1785, allocations: 0 / 0.5233 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.1785, allocations: 4 kB / 0.5233 GB, free: 484 kB / 398.1 MB Notification: Performance of sorting global known variables: time 5.896e-05/0.1786, allocations: 83.22 kB / 0.5233 GB, free: 400 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1786, allocations: 0 / 0.5233 GB, free: 400 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005598/0.1791, allocations: 119.7 kB / 0.5235 GB, free: 280 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.001261/0.1804, allocations: 0.9057 MB / 0.5243 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001413/0.1805, allocations: 67.34 kB / 0.5244 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1805, allocations: 3.938 kB / 0.5244 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.61e-05/0.1806, allocations: 59.39 kB / 0.5245 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.0002112/0.1808, allocations: 4 kB / 0.5245 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.182, allocations: 1.195 MB / 0.5256 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.1823, allocations: 0.669 MB / 0.5263 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.496e-05/0.1823, allocations: 8.062 kB / 0.5263 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.243e-05/0.1823, allocations: 7.438 kB / 0.5263 GB, free: 13.19 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1823, allocations: 0 / 0.5263 GB, free: 13.19 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02653/0.2089, allocations: 4.53 MB / 0.5307 GB, free: 8.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.69, allocations: 7.5 kB / 0.5307 GB, free: 8.656 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 & /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.925275355984922]