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.00181/0.00181, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.002339/0.002339, allocations: 211 kB / 24.53 MB, free: 4.07 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.457/1.457, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.001872/0.001872, allocations: 59.84 kB / 378.6 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2537, allocations: 53.42 MB / 432 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.003203/0.2569, allocations: 0.8852 MB / 432.9 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009112/0.2578, allocations: 263 kB / 433.1 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.976e-05/0.2579, allocations: 3.938 kB / 433.1 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.879e-05/0.258, allocations: 7.922 kB / 433.1 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001674/0.2582, allocations: 7.938 kB / 433.1 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005843/0.2588, allocations: 103.7 kB / 433.2 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.2589, allocations: 35.92 kB / 433.3 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.259, allocations: 19.98 kB / 433.3 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.511e-05/0.2591, allocations: 27.84 kB / 433.3 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.561e-05/0.2591, allocations: 19.92 kB / 433.3 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.2592, allocations: 4 kB / 433.4 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.2593, allocations: 35.97 kB / 433.4 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.729e-05/0.2594, allocations: 23.92 kB / 433.4 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.703e-05/0.2594, allocations: 39.67 kB / 433.4 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.2597, allocations: 96.39 kB / 433.5 MB, free: 5.137 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2597, allocations: 0 / 433.5 MB, free: 5.137 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2597, allocations: 0 / 433.5 MB, free: 5.137 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.2597, allocations: 0 / 433.5 MB, free: 5.137 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.0006269/0.2603, allocations: 313.9 kB / 433.9 MB, free: 4.797 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.2604, allocations: 12.02 kB / 433.9 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.608e-05/0.2604, allocations: 8.188 kB / 433.9 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.197e-05/0.2604, allocations: 30.75 kB / 433.9 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.2605, allocations: 8.891 kB / 433.9 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.2608, allocations: 149 kB / 434.1 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.2608, allocations: 4.375 kB / 434.1 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.2608, allocations: 4.375 kB / 434.1 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004704/0.2613, allocations: 165.2 kB / 434.2 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.2613, allocations: 0 / 434.2 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.2613, allocations: 0 / 434.2 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.2614, allocations: 4 kB / 434.2 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.506e-05/0.2614, allocations: 16 kB / 434.2 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004785/0.2619, allocations: 248.8 kB / 434.5 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.2621, allocations: 50.44 kB / 434.5 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.49e-05/0.2621, allocations: 16.86 kB / 434.6 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006331/0.2628, allocations: 59.98 kB / 434.6 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.001e-05/0.2628, allocations: 34.55 kB / 434.6 MB, free: 3.887 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.874e-06/0.2628, allocations: 4 kB / 434.6 MB, free: 3.883 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003371/0.2631, allocations: 81.58 kB / 434.7 MB, free: 3.797 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.268e-05/0.2632, allocations: 55.41 kB / 434.8 MB, free: 3.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.2634, allocations: 152.8 kB / 434.9 MB, free: 3.574 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.2635, allocations: 33.7 kB / 435 MB, free: 3.535 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.188e-05/0.2636, allocations: 88.14 kB / 435.1 MB, free: 3.445 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.2636, allocations: 11.94 kB / 435.1 MB, free: 3.434 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.608e-05/0.2637, allocations: 21.72 kB / 435.1 MB, free: 3.406 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002256/0.2639, allocations: 326.8 kB / 435.4 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.775e-05/0.2639, allocations: 19.98 kB / 435.4 MB, free: 3.059 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.2641, allocations: 65.94 kB / 435.5 MB, free: 2.973 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.2642, allocations: 85.88 kB / 435.6 MB, free: 2.867 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2642, allocations: 0 / 435.6 MB, free: 2.867 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002773/0.2645, allocations: 109.5 kB / 435.7 MB, free: 2.754 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.2645, allocations: 4 kB / 435.7 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.2645, allocations: 4 kB / 435.7 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.2646, allocations: 0 / 435.7 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.2647, allocations: 19.94 kB / 435.7 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.2647, allocations: 4.219 kB / 435.7 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.048e-05/0.2648, allocations: 15.83 kB / 435.7 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.2648, allocations: 4 kB / 435.7 MB, free: 2.703 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.0001852/0.265, allocations: 136.8 kB / 435.9 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.2651, allocations: 69.58 kB / 435.9 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002646/0.2654, allocations: 86.44 kB / 436 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.2654, allocations: 4 kB / 436 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2654, allocations: 0 / 436 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.946e-06/0.2654, allocations: 7.938 kB / 436 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.2656, allocations: 148.7 kB / 436.2 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.2656, allocations: 3.984 kB / 436.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-05/0.2657, allocations: 4 kB / 436.2 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.2657, allocations: 144 / 436.2 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.2657, allocations: 3.938 kB / 436.2 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2657, allocations: 0 / 436.2 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-06/0.2657, allocations: 7.984 kB / 436.2 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.2659, allocations: 105 kB / 436.3 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.808e-05/0.266, allocations: 15.95 kB / 436.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/0.266, allocations: 11.98 kB / 436.3 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.631e-05/0.2661, allocations: 0 / 436.3 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.466e-06/0.2661, allocations: 0 / 436.3 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.2661, allocations: 4 kB / 436.3 MB, free: 2.023 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000172/0.2663, allocations: 122.6 kB / 436.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2663, allocations: 0 / 436.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004045/0.2667, allocations: 12 kB / 436.5 MB, free: 1.895 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.0008314/0.2675, allocations: 0.6827 MB / 437.1 MB, free: 1.184 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.2677, allocations: 47.91 kB / 437.2 MB, free: 1.137 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2677, allocations: 4 kB / 437.2 MB, free: 1.133 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.62e-07/0.2677, allocations: 0 / 437.2 MB, free: 1.133 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006055/0.2683, allocations: 90.23 kB / 437.3 MB, free: 1.039 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.2705, allocations: 1.467 MB / 438.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/0.271, allocations: 0.7041 MB / 439.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.641e-05/0.2711, allocations: 8.656 kB / 439.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.328e-05/0.2711, allocations: 19.44 kB / 439.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2711, allocations: 4 kB / 439.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.3005, allocations: 2.776 MB / 442.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.5, allocations: 12 kB / 442.3 MB, free: 12.02 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.086873759981245]