Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001318/0.001318, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001525/0.001525, allocations: 206.1 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.373/1.373, allocations: 230.6 MB / 258.3 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 44.08 kB / 378.6 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2369, allocations: 53.36 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002251/0.2392, allocations: 0.9048 MB / 432.8 MB, free: 5.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006677/0.2398, allocations: 255.1 kB / 433.1 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.173e-05/0.2399, allocations: 0 / 433.1 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.711e-05/0.24, allocations: 7.922 kB / 433.1 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.2401, allocations: 11.92 kB / 433.1 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004648/0.2406, allocations: 103.7 kB / 433.2 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.2407, allocations: 39.86 kB / 433.2 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.2408, allocations: 23.97 kB / 433.3 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.851e-05/0.2409, allocations: 19.86 kB / 433.3 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.731e-05/0.2409, allocations: 23.86 kB / 433.3 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.241, allocations: 4 kB / 433.3 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.2411, allocations: 39.91 kB / 433.4 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.363e-05/0.2411, allocations: 23.92 kB / 433.4 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.824e-05/0.2412, allocations: 31.78 kB / 433.4 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.2414, allocations: 99.98 kB / 433.5 MB, free: 5.316 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2414, allocations: 0 / 433.5 MB, free: 5.316 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2414, allocations: 4 kB / 433.5 MB, free: 5.312 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.2414, allocations: 0 / 433.5 MB, free: 5.312 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.0005196/0.2419, allocations: 305.9 kB / 433.8 MB, free: 4.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.242, allocations: 12.03 kB / 433.8 MB, free: 4.969 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.308e-05/0.242, allocations: 192 / 433.8 MB, free: 4.969 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.635e-05/0.242, allocations: 34.75 kB / 433.9 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.413e-05/0.242, allocations: 12.89 kB / 433.9 MB, free: 4.914 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.2423, allocations: 157.3 kB / 434 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.2423, allocations: 384 / 434 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.2424, allocations: 8.375 kB / 434 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.2427, allocations: 149.3 kB / 434.2 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.2427, allocations: 8 kB / 434.2 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.2427, allocations: 0 / 434.2 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.2427, allocations: 0 / 434.2 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.712e-05/0.2427, allocations: 16 kB / 434.2 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003388/0.2431, allocations: 252.7 kB / 434.4 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.119e-05/0.2432, allocations: 34.56 kB / 434.5 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.871e-05/0.2432, allocations: 28.86 kB / 434.5 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004155/0.2436, allocations: 55.97 kB / 434.6 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.2437, allocations: 34.56 kB / 434.6 MB, free: 4.078 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.2437, allocations: 4 kB / 434.6 MB, free: 4.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002194/0.2439, allocations: 85.58 kB / 434.7 MB, free: 3.984 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.244, allocations: 51.41 kB / 434.7 MB, free: 3.922 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.2441, allocations: 155.8 kB / 434.9 MB, free: 3.762 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.2441, allocations: 29.64 kB / 434.9 MB, free: 3.727 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.568e-05/0.2442, allocations: 84.14 kB / 435 MB, free: 3.641 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.2442, allocations: 15.94 kB / 435 MB, free: 3.625 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.2442, allocations: 21.72 kB / 435 MB, free: 3.598 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.2444, allocations: 330.7 kB / 435.4 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.76e-05/0.2444, allocations: 19.98 kB / 435.4 MB, free: 3.246 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.411e-05/0.2445, allocations: 62 kB / 435.4 MB, free: 3.164 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.519e-05/0.2446, allocations: 81.88 kB / 435.5 MB, free: 3.062 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2446, allocations: 0 / 435.5 MB, free: 3.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001659/0.2447, allocations: 113.6 kB / 435.6 MB, free: 2.945 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.2448, allocations: 8 kB / 435.6 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.2448, allocations: 4 kB / 435.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.2448, allocations: 4 kB / 435.6 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.66e-05/0.2449, allocations: 19.94 kB / 435.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.2449, allocations: 4 kB / 435.7 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.261e-05/0.2449, allocations: 7.891 kB / 435.7 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.2449, allocations: 7.984 kB / 435.7 MB, free: 2.891 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.0001297/0.2451, allocations: 139.4 kB / 435.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.2452, allocations: 73.73 kB / 435.9 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001676/0.2453, allocations: 86.38 kB / 436 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2453, allocations: 0 / 436 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.2454, allocations: 0 / 436 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.2454, allocations: 7.875 kB / 436 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.2455, allocations: 148.7 kB / 436.1 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.2455, allocations: 0 / 436.1 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.6e-05/0.2455, allocations: 7.938 kB / 436.1 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2455, allocations: 0 / 436.1 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.2455, allocations: 8 kB / 436.1 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2455, allocations: 4 kB / 436.1 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2455, allocations: 0 / 436.1 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.2457, allocations: 101.2 kB / 436.2 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-05/0.2457, allocations: 19.94 kB / 436.3 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.2458, allocations: 4 kB / 436.3 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.185e-05/0.2458, allocations: 0 / 436.3 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-06/0.2458, allocations: 0 / 436.3 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.2458, allocations: 4 kB / 436.3 MB, free: 2.215 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.749e-05/0.2459, allocations: 119.2 kB / 436.4 MB, free: 2.098 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2459, allocations: 0 / 436.4 MB, free: 2.098 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002272/0.2461, allocations: 20.19 kB / 436.4 MB, free: 2.078 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.0006095/0.2467, allocations: 0.6748 MB / 437.1 MB, free: 1.375 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001589/0.2469, allocations: 59.89 kB / 437.1 MB, free: 1.316 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2469, allocations: 0 / 437.1 MB, free: 1.316 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.2469, allocations: 0 / 437.1 MB, free: 1.316 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.2473, allocations: 85.56 kB / 437.2 MB, free: 1.227 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.2489, allocations: 1.456 MB / 438.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.2493, allocations: 0.7118 MB / 439.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.684e-05/0.2493, allocations: 12.66 kB / 439.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.177e-05/0.2494, allocations: 19.44 kB / 439.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2494, allocations: 0 / 439.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/0.2725, allocations: 2.798 MB / 442.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.75, allocations: 14.62 kB / 442.2 MB, free: 12.22 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000215433 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 13.148328073031735]