Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.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.0009109/0.0009109, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.004625/0.004625, allocations: 165.9 kB / 24.7 MB, free: 8.887 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.8775/0.8775, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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(Modelica.Blocks.Examples.NoiseExamples.Distributions,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Distributions,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.338e-05, allocations: 2.281 kB / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002381/0.002405, allocations: 1.507 MB / 300 MB, free: 1.984 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.004378, allocations: 1.369 MB / 301.3 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.876e-05/0.004457, allocations: 0 / 301.3 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.004562, allocations: 11.88 kB / 301.3 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.274e-05/0.004654, allocations: 23.73 kB / 301.4 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009784/0.005633, allocations: 402.5 kB / 301.8 MB, free: 176 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.005783, allocations: 143.5 kB / 301.9 MB, free: 32 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.58e-05/0.005829, allocations: 5.688 kB / 301.9 MB, free: 24 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1426/0.1484, allocations: 73.27 kB / 302 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.1486, allocations: 52.91 kB / 302 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.897e-05/0.1486, allocations: 11.41 kB / 302 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/0.1497, allocations: 447.6 kB / 302.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.531e-05/0.1498, allocations: 39.77 kB / 302.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.146e-05/0.1499, allocations: 41 kB / 302.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007747/0.1506, allocations: 472.9 kB / 303 MB, free: 13.21 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1506, allocations: 0 / 303 MB, free: 13.21 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1507, allocations: 3.469 kB / 303 MB, free: 13.21 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1507, allocations: 0 / 303 MB, free: 13.21 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007863/0.1514, allocations: 455.5 kB / 303.5 MB, free: 12.85 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.568e-05/0.1515, allocations: 13.05 kB / 303.5 MB, free: 12.85 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.252e-05/0.1516, allocations: 45.27 kB / 303.5 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002088/0.1518, allocations: 34.27 kB / 303.5 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.152, allocations: 147.8 kB / 303.7 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.152, allocations: 5.078 kB / 303.7 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.152, allocations: 13.56 kB / 303.7 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.1523, allocations: 135.7 kB / 303.8 MB, free: 12.6 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1523, allocations: 1.906 kB / 303.8 MB, free: 12.6 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.1523, allocations: 1.562 kB / 303.8 MB, free: 12.6 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.1523, allocations: 5.359 kB / 303.9 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.1524, allocations: 66.52 kB / 303.9 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006193/0.1531, allocations: 0.5088 MB / 304.4 MB, free: 12.19 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002513/0.1533, allocations: 148.6 kB / 304.6 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.082e-05/0.1534, allocations: 62.16 kB / 304.6 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.1534, allocations: 2.922 kB / 304.6 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003077/0.1537, allocations: 160 kB / 304.8 MB, free: 12.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.994e-06/0.1537, allocations: 0 / 304.8 MB, free: 12.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004159/0.1541, allocations: 244 kB / 305 MB, free: 11.98 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.1542, allocations: 120.3 kB / 305.1 MB, free: 11.86 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.1544, allocations: 200.1 kB / 305.3 MB, free: 11.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.1544, allocations: 46.14 kB / 305.4 MB, free: 11.72 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.455e-05/0.1545, allocations: 114.2 kB / 305.5 MB, free: 11.64 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.1545, allocations: 52.75 kB / 305.5 MB, free: 11.61 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-05/0.1546, allocations: 62.97 kB / 305.6 MB, free: 11.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.845e-05/0.1547, allocations: 329.3 kB / 305.9 MB, free: 11.28 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.1548, allocations: 100.2 kB / 306 MB, free: 11.28 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.155, allocations: 143.2 kB / 306.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002946/0.1553, allocations: 225.5 kB / 306.4 MB, free: 11.2 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1553, allocations: 0 / 306.4 MB, free: 11.2 MB / 282.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004495/0.1558, allocations: 304.1 kB / 306.7 MB, free: 11.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.1558, allocations: 10.38 kB / 306.7 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.1558, allocations: 2.141 kB / 306.7 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.1558, allocations: 1.656 kB / 306.7 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.156, allocations: 39.97 kB / 306.7 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.156, allocations: 4.531 kB / 306.7 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.194e-05/0.156, allocations: 28.08 kB / 306.8 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.1561, allocations: 7.5 kB / 306.8 MB, free: 11.14 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,globalSeed.seed,truncatedNormalNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,uniformNoise.actualGlobalSeed,uniformNoise.localSeed,globalSeed.id_impure,truncatedNormalNoise.r_raw,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r,truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[1],uniformNoise.r_raw,$PRE.uniformNoise.r_raw,uniformNoise.r,$PRE.uniformNoise.r,uniformNoise.state[4],$PRE.uniformNoise.state[4],uniformNoise.state[3],$PRE.uniformNoise.state[3],uniformNoise.state[2],$PRE.uniformNoise.state[2],uniformNoise.state[1],$PRE.uniformNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * 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.0001302/0.1562, allocations: 148.6 kB / 306.9 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.1562, allocations: 22.55 kB / 306.9 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.761e-05/0.1563, allocations: 17.45 kB / 307 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1563, allocations: 6.594 kB / 307 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.1563, allocations: 1.75 kB / 307 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.1563, allocations: 0.5156 kB / 307 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.1565, allocations: 181 kB / 307.1 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1565, allocations: 1.281 kB / 307.1 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.147e-05/0.1565, allocations: 10.73 kB / 307.2 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.1565, allocations: 4.828 kB / 307.2 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.1566, allocations: 6.516 kB / 307.2 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.1566, allocations: 1.031 kB / 307.2 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1566, allocations: 1 kB / 307.2 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003634/0.1569, allocations: 248.3 kB / 307.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.867e-05/0.157, allocations: 21.78 kB / 307.4 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.082e-05/0.157, allocations: 8.625 kB / 307.4 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.529e-05/0.157, allocations: 11.31 kB / 307.5 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.111e-05/0.1571, allocations: 11.5 kB / 307.5 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.1571, allocations: 3.531 kB / 307.5 MB, free: 10.69 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001008/0.1572, allocations: 146.6 kB / 307.6 MB, free: 10.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1572, allocations: 0 / 307.6 MB, free: 10.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006358/0.1579, allocations: 132.9 kB / 307.7 MB, free: 10.55 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,n) * Number of discrete states: 8 (uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001257/0.1591, allocations: 1.108 MB / 308.9 MB, free: 9.785 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003745/0.1595, allocations: 187.6 kB / 309 MB, free: 9.742 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1595, allocations: 192 / 309 MB, free: 9.742 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.1596, allocations: 63.95 kB / 309.1 MB, free: 9.727 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.1598, allocations: 8.828 kB / 309.1 MB, free: 9.723 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.1624, allocations: 2.339 MB / 311.4 MB, free: 8.121 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.1625, allocations: 110.5 kB / 311.6 MB, free: 8.043 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.429e-05/0.1625, allocations: 24.12 kB / 311.6 MB, free: 8.039 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.939e-05/0.1626, allocations: 50.28 kB / 311.6 MB, free: 8.004 MB / 282.7 MB Notification: Performance of SimCode: time 1.723e-06/0.1626, allocations: 0 / 311.6 MB, free: 8.004 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02632/0.1889, allocations: 6.454 MB / 318.1 MB, free: 6.023 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.014/7.203, allocations: 1 kB / 318.1 MB, free: 6.023 MB / 282.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions_fmu --startTime=0 --stopTime=2 --stepSize=0.00039208 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Distributions/Distributions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.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.829201247543097]