Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001713/0.001713, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002258/0.002258, allocations: 214.8 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 230.5 MB / 258.2 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 55.91 kB / 378.5 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2579, allocations: 53.41 MB / 431.9 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002245/0.2602, allocations: 0.8851 MB / 432.8 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006357/0.2608, allocations: 239.1 kB / 433 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.929e-05/0.2609, allocations: 7.938 kB / 433 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.26e-05/0.2609, allocations: 11.92 kB / 433.1 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.2611, allocations: 3.938 kB / 433.1 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004878/0.2616, allocations: 95.72 kB / 433.1 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.2617, allocations: 47.91 kB / 433.2 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.2618, allocations: 15.98 kB / 433.2 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.579e-05/0.2619, allocations: 23.86 kB / 433.2 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.895e-05/0.262, allocations: 15.92 kB / 433.3 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.262, allocations: 4 kB / 433.3 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.2621, allocations: 47.95 kB / 433.3 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.954e-05/0.2622, allocations: 19.92 kB / 433.3 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.197e-05/0.2622, allocations: 27.75 kB / 433.3 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.2624, allocations: 92.45 kB / 433.4 MB, free: 4.984 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2624, allocations: 0 / 433.4 MB, free: 4.984 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2624, allocations: 0 / 433.4 MB, free: 4.984 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.2624, allocations: 0 / 433.4 MB, free: 4.984 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005661/0.263, allocations: 317.9 kB / 433.7 MB, free: 4.641 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.263, allocations: 8.031 kB / 433.8 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.33e-05/0.2631, allocations: 4.188 kB / 433.8 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.439e-05/0.2631, allocations: 38.73 kB / 433.8 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.2632, allocations: 16.83 kB / 433.8 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.2634, allocations: 142.3 kB / 434 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.2634, allocations: 384 / 434 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.2635, allocations: 8.375 kB / 434 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.2638, allocations: 157.2 kB / 434.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.2638, allocations: 0 / 434.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.2638, allocations: 8 kB / 434.1 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.2638, allocations: 0 / 434.1 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.645e-05/0.2639, allocations: 20 kB / 434.1 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/0.2642, allocations: 248.7 kB / 434.4 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.2643, allocations: 38.52 kB / 434.4 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.169e-05/0.2644, allocations: 24.89 kB / 434.4 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004223/0.2648, allocations: 59.94 kB / 434.5 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.2648, allocations: 30.56 kB / 434.5 MB, free: 3.734 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.2648, allocations: 0 / 434.5 MB, free: 3.734 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002305/0.265, allocations: 89.56 kB / 434.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.2651, allocations: 55.41 kB / 434.7 MB, free: 3.574 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.2653, allocations: 153.3 kB / 434.8 MB, free: 3.418 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.2653, allocations: 29.7 kB / 434.9 MB, free: 3.383 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.741e-05/0.2653, allocations: 88.14 kB / 434.9 MB, free: 3.293 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.2654, allocations: 7.953 kB / 435 MB, free: 3.285 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.2654, allocations: 33.7 kB / 435 MB, free: 3.246 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.2655, allocations: 314.8 kB / 435.3 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.677e-05/0.2656, allocations: 23.98 kB / 435.3 MB, free: 2.906 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.431e-05/0.2656, allocations: 61.98 kB / 435.4 MB, free: 2.824 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.192e-05/0.2657, allocations: 77.88 kB / 435.5 MB, free: 2.727 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2657, allocations: 8 kB / 435.5 MB, free: 2.719 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001543/0.2659, allocations: 109.5 kB / 435.6 MB, free: 2.605 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.2659, allocations: 4 kB / 435.6 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2659, allocations: 4 kB / 435.6 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.2659, allocations: 192 / 435.6 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.286e-05/0.266, allocations: 23.92 kB / 435.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.266, allocations: 3.938 kB / 435.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.868e-05/0.2661, allocations: 16.05 kB / 435.6 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.2661, allocations: 8 kB / 435.6 MB, free: 2.547 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[1],uniformNoise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[3],uniformNoise.seedState[2],uniformNoise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * 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.0001214/0.2662, allocations: 140.8 kB / 435.8 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.773e-05/0.2663, allocations: 69.58 kB / 435.8 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001663/0.2664, allocations: 82.45 kB / 435.9 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.2665, allocations: 4 kB / 435.9 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.2665, allocations: 0 / 435.9 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2665, allocations: 3.938 kB / 435.9 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.2666, allocations: 144.7 kB / 436.1 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.2666, allocations: 0 / 436.1 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.281e-05/0.2666, allocations: 8 kB / 436.1 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.2666, allocations: 7.922 kB / 436.1 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.2666, allocations: 0 / 436.1 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2666, allocations: 240 / 436.1 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2666, allocations: 4 kB / 436.1 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.2668, allocations: 105 kB / 436.2 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.603e-05/0.2668, allocations: 23.94 kB / 436.2 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.2668, allocations: 0 / 436.2 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.717e-05/0.2669, allocations: 7.984 kB / 436.2 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-06/0.2669, allocations: 0 / 436.2 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.2669, allocations: 7.938 kB / 436.2 MB, free: 1.867 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.271e-05/0.267, allocations: 119.2 kB / 436.3 MB, free: 1.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.267, allocations: 0 / 436.3 MB, free: 1.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002231/0.2672, allocations: 20 kB / 436.4 MB, free: 1.73 MB / 334.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: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0005653/0.2678, allocations: 0.6671 MB / 437 MB, free: 1.035 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001379/0.2679, allocations: 47.92 kB / 437.1 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2679, allocations: 0 / 437.1 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.2679, allocations: 0 / 437.1 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.2683, allocations: 98.41 kB / 437.2 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.2698, allocations: 1.468 MB / 438.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.992e-05/0.2699, allocations: 87.31 kB / 438.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.832e-05/0.2699, allocations: 4.672 kB / 438.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.042e-05/0.2699, allocations: 19.42 kB / 438.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2699, allocations: 0 / 438.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/0.2915, allocations: 2.867 MB / 441.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.44, allocations: 10.55 kB / 441.6 MB, free: 12.42 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000215433 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y,uniformNoise.y Variables in the result:const.k,const.y,periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,previous(uniformNoise.seedState[1]),previous(uniformNoise.seedState[2]),previous(uniformNoise.seedState[3]),sample1.u,sample1.y,time,uniformNoise.firstSeed[1],uniformNoise.firstSeed[2],uniformNoise.firstSeed[3],uniformNoise.noiseMax,uniformNoise.noiseMin,uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3],uniformNoise.u,uniformNoise.y [Calling sys.exit(0), Time elapsed: 14.027025331975892]