Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.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.001361/0.001361, allocations: 85.17 kB / 22 MB, free: 5.172 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.001384/0.001384, allocations: 161.4 kB / 25.25 MB, free: 3.023 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.445/1.445, allocations: 158.6 MB / 187 MB, free: 6.23 MB / 174.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") [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.001771/0.001771, allocations: 59.92 kB / 299.4 MB, free: 6.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.273, allocations: 49.15 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.003085/0.2761, allocations: 1.461 MB / 350 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.2775, allocations: 0.5515 MB / 350.5 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.033e-05/0.2776, allocations: 0 / 350.5 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.2777, allocations: 15.8 kB / 350.5 MB, free: 13.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.185e-05/0.2778, allocations: 11.88 kB / 350.5 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006325/0.2784, allocations: 163.5 kB / 350.7 MB, free: 13.31 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.2786, allocations: 111.7 kB / 350.8 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.016e-05/0.2786, allocations: 9.312 kB / 350.8 MB, free: 13.19 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.264e-05/0.2787, allocations: 55.77 kB / 350.9 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.787e-05/0.2788, allocations: 51.75 kB / 350.9 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.2788, allocations: 8 kB / 350.9 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003381/0.2791, allocations: 163.7 kB / 351.1 MB, free: 12.92 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.719e-05/0.2792, allocations: 35.84 kB / 351.1 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.114e-05/0.2793, allocations: 39.77 kB / 351.2 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003545/0.2796, allocations: 213.8 kB / 351.4 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2796, allocations: 0 / 351.4 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2796, allocations: 0 / 351.4 MB, free: 12.64 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.2797, allocations: 0 / 351.4 MB, free: 12.64 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007815/0.2804, allocations: 389.4 kB / 351.8 MB, free: 12.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.2805, allocations: 11.98 kB / 351.8 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003424/0.2808, allocations: 48.75 kB / 351.8 MB, free: 12.17 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.281, allocations: 138.3 kB / 352 MB, free: 12.01 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.281, allocations: 8.359 kB / 352 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.2811, allocations: 12.36 kB / 352 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.2813, allocations: 107.9 kB / 352.1 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.2813, allocations: 4.188 kB / 352.1 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.2813, allocations: 7.938 kB / 352.1 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.2813, allocations: 0 / 352.1 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.2815, allocations: 59.89 kB / 352.1 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006896/0.2822, allocations: 297.2 kB / 352.4 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003428/0.2826, allocations: 125.1 kB / 352.6 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.2827, allocations: 45.77 kB / 352.6 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.2827, allocations: 3.938 kB / 352.6 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003176/0.283, allocations: 145 kB / 352.8 MB, free: 11.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.283, allocations: 0 / 352.8 MB, free: 11.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005812/0.2836, allocations: 238 kB / 353 MB, free: 10.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.935e-05/0.2837, allocations: 93.09 kB / 353.1 MB, free: 10.77 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.2839, allocations: 182.2 kB / 353.3 MB, free: 10.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.929e-05/0.2839, allocations: 45.7 kB / 353.3 MB, free: 10.54 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.92e-05/0.284, allocations: 100.6 kB / 353.4 MB, free: 10.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.223e-05/0.284, allocations: 51.61 kB / 353.4 MB, free: 10.38 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.091e-05/0.2841, allocations: 61.92 kB / 353.5 MB, free: 10.31 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.2843, allocations: 322.8 kB / 353.8 MB, free: 9.988 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.2845, allocations: 100.5 kB / 353.9 MB, free: 9.891 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.2847, allocations: 135.4 kB / 354.1 MB, free: 9.75 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003736/0.2851, allocations: 222.9 kB / 354.3 MB, free: 9.523 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.2851, allocations: 3.938 kB / 354.3 MB, free: 9.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005347/0.2856, allocations: 289.4 kB / 354.6 MB, free: 9.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.2856, allocations: 8 kB / 354.6 MB, free: 9.223 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2856, allocations: 0 / 354.6 MB, free: 9.223 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.2857, allocations: 0 / 354.6 MB, free: 9.223 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.2858, allocations: 39.97 kB / 354.6 MB, free: 9.184 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.2858, allocations: 0 / 354.6 MB, free: 9.184 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.028e-05/0.2859, allocations: 23.84 kB / 354.6 MB, free: 9.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.2859, allocations: 8 kB / 354.6 MB, free: 9.152 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1],uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0001536/0.2861, allocations: 145.8 kB / 354.8 MB, free: 9 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.2861, allocations: 19.89 kB / 354.8 MB, free: 8.98 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.643e-05/0.2862, allocations: 17.45 kB / 354.8 MB, free: 8.957 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2862, allocations: 0 / 354.8 MB, free: 8.957 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2862, allocations: 4 kB / 354.8 MB, free: 8.953 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.2862, allocations: 0 / 354.8 MB, free: 8.953 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.2864, allocations: 149.1 kB / 355 MB, free: 8.777 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2864, allocations: 0 / 355 MB, free: 8.777 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.867e-05/0.2864, allocations: 8 kB / 355 MB, free: 8.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2864, allocations: 0 / 355 MB, free: 8.77 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.2864, allocations: 7.984 kB / 355 MB, free: 8.762 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2864, allocations: 0 / 355 MB, free: 8.762 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.2864, allocations: 4 kB / 355 MB, free: 8.758 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004016/0.2868, allocations: 233.6 kB / 355.2 MB, free: 8.508 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.521e-05/0.2869, allocations: 19.84 kB / 355.2 MB, free: 8.488 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.2869, allocations: 8 kB / 355.2 MB, free: 8.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.605e-05/0.287, allocations: 7.984 kB / 355.2 MB, free: 8.473 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.203e-05/0.287, allocations: 11.98 kB / 355.3 MB, free: 8.461 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.287, allocations: 0 / 355.3 MB, free: 8.461 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001282/0.2872, allocations: 131.2 kB / 355.4 MB, free: 8.332 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2872, allocations: 0 / 355.4 MB, free: 8.332 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000306/0.2875, allocations: 47.94 kB / 355.4 MB, free: 8.285 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * 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.0005806/0.288, allocations: 226.8 kB / 355.7 MB, free: 8.055 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004317/0.2885, allocations: 187.8 kB / 355.8 MB, free: 7.871 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2885, allocations: 0 / 355.8 MB, free: 7.871 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.2886, allocations: 55.91 kB / 355.9 MB, free: 7.816 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.2888, allocations: 11.94 kB / 355.9 MB, free: 7.805 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005226/0.2893, allocations: 243.8 kB / 356.1 MB, free: 7.535 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.2895, allocations: 105.9 kB / 356.2 MB, free: 7.406 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.654e-05/0.2895, allocations: 21.03 kB / 356.3 MB, free: 7.387 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.215e-05/0.2896, allocations: 16.5 kB / 356.3 MB, free: 7.371 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2896, allocations: 0 / 356.3 MB, free: 7.371 MB / 318.1 MB Notification: Performance of Templates: time 0.006201/0.2958, allocations: 2.191 MB / 358.5 MB, free: 5.176 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.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: 4.691123969038017]