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.001212/0.001212, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001453/0.001453, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.378/1.378, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.001444/0.001444, allocations: 47.94 kB / 378.5 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2574, allocations: 53.35 MB / 431.9 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002268/0.2596, allocations: 0.8927 MB / 432.8 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005841/0.2602, allocations: 239.1 kB / 433 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.295e-05/0.2603, allocations: 4 kB / 433 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.455e-05/0.2603, allocations: 11.86 kB / 433 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001427/0.2605, allocations: 3.938 kB / 433 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004355/0.2609, allocations: 103 kB / 433.1 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.261, allocations: 55.8 kB / 433.2 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.862e-05/0.2611, allocations: 18.09 kB / 433.2 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.304e-05/0.2611, allocations: 11.94 kB / 433.2 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.043e-05/0.2612, allocations: 27.84 kB / 433.2 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.2612, allocations: 4 kB / 433.2 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.427e-05/0.2613, allocations: 39.95 kB / 433.3 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.979e-05/0.2614, allocations: 23.92 kB / 433.3 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.2614, allocations: 15.88 kB / 433.3 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.2616, allocations: 95.61 kB / 433.4 MB, free: 5.145 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2616, allocations: 3.984 kB / 433.4 MB, free: 5.141 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2616, allocations: 4 kB / 433.4 MB, free: 5.137 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.2616, allocations: 0 / 433.4 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.0004942/0.2621, allocations: 317.8 kB / 433.7 MB, free: 4.793 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.2622, allocations: 8.031 kB / 433.7 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.803e-05/0.2622, allocations: 4.188 kB / 433.7 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.256e-05/0.2622, allocations: 34.73 kB / 433.8 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.2622, allocations: 8.891 kB / 433.8 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.2625, allocations: 140.9 kB / 433.9 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.2625, allocations: 12.38 kB / 433.9 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.2625, allocations: 8.375 kB / 433.9 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.2628, allocations: 157.2 kB / 434.1 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.2629, allocations: 0 / 434.1 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.2629, allocations: 0 / 434.1 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.2629, allocations: 4 kB / 434.1 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.158e-05/0.2629, allocations: 23.94 kB / 434.1 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.2633, allocations: 240.8 kB / 434.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.443e-05/0.2634, allocations: 34.58 kB / 434.4 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.983e-05/0.2634, allocations: 28.89 kB / 434.4 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004086/0.2638, allocations: 55.95 kB / 434.5 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.2638, allocations: 34.56 kB / 434.5 MB, free: 3.898 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.2639, allocations: 0 / 434.5 MB, free: 3.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002251/0.2641, allocations: 89.61 kB / 434.6 MB, free: 3.805 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.007e-05/0.2641, allocations: 59.41 kB / 434.6 MB, free: 3.734 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.2643, allocations: 153.1 kB / 434.8 MB, free: 3.578 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.2643, allocations: 25.7 kB / 434.8 MB, free: 3.547 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.958e-05/0.2644, allocations: 88.14 kB / 434.9 MB, free: 3.457 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.2644, allocations: 19.88 kB / 434.9 MB, free: 3.438 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.2644, allocations: 17.72 kB / 434.9 MB, free: 3.414 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.2646, allocations: 326.8 kB / 435.3 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.459e-05/0.2646, allocations: 23.94 kB / 435.3 MB, free: 3.062 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.723e-05/0.2647, allocations: 61.98 kB / 435.3 MB, free: 2.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.2648, allocations: 77.94 kB / 435.4 MB, free: 2.883 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.2648, allocations: 0 / 435.4 MB, free: 2.883 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001609/0.265, allocations: 113.4 kB / 435.5 MB, free: 2.766 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.265, allocations: 12.22 kB / 435.5 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.265, allocations: 0 / 435.5 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.265, allocations: 7.984 kB / 435.5 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.727e-05/0.2651, allocations: 12 kB / 435.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.2651, allocations: 7.938 kB / 435.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.984e-05/0.2651, allocations: 11.89 kB / 435.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.2652, allocations: 4 kB / 435.6 MB, free: 2.711 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.0001768/0.2653, allocations: 133.8 kB / 435.7 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.854e-05/0.2654, allocations: 65.88 kB / 435.8 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.2656, allocations: 90.39 kB / 435.9 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2656, allocations: 8.188 kB / 435.9 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2656, allocations: 0 / 435.9 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.2656, allocations: 7.875 kB / 435.9 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.2657, allocations: 144.7 kB / 436 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.2658, allocations: 0 / 436 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.635e-05/0.2658, allocations: 7.984 kB / 436 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2658, allocations: 0 / 436 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-06/0.2658, allocations: 3.938 kB / 436 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2658, allocations: 0 / 436 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.2658, allocations: 4 kB / 436 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.266, allocations: 116.9 kB / 436.1 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.569e-05/0.266, allocations: 15.94 kB / 436.2 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.266, allocations: 7.984 kB / 436.2 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.479e-05/0.266, allocations: 4 kB / 436.2 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.402e-06/0.2661, allocations: 0 / 436.2 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.2661, allocations: 4 kB / 436.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.492e-05/0.2662, allocations: 115.2 kB / 436.3 MB, free: 1.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2662, allocations: 0 / 436.3 MB, free: 1.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002211/0.2664, allocations: 20 kB / 436.3 MB, free: 1.891 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.0005539/0.2669, allocations: 0.6671 MB / 437 MB, free: 1.195 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001326/0.2671, allocations: 51.92 kB / 437 MB, free: 1.145 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2671, allocations: 0 / 437 MB, free: 1.145 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4e-07/0.2671, allocations: 0 / 437 MB, free: 1.145 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.2674, allocations: 85.55 kB / 437.1 MB, free: 1.055 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.2688, allocations: 1.465 MB / 438.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.151e-05/0.2689, allocations: 91.31 kB / 438.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.173e-05/0.2689, allocations: 4.672 kB / 438.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.21e-05/0.2689, allocations: 19.42 kB / 438.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2689, allocations: 0 / 438.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.2915, allocations: 2.873 MB / 441.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.81, allocations: 14.69 kB / 441.6 MB, free: 12.61 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.183474921970628]