Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 108.6 kB / 21.22 MB, free: 0.7266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001969/0.001969, allocations: 187.5 kB / 24.51 MB, free: 4.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 43.94 kB / 371.2 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2314, allocations: 52.2 MB / 423.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002086/0.2335, allocations: 0.908 MB / 424.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005613/0.2341, allocations: 251.1 kB / 424.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.987e-05/0.2341, allocations: 0 / 424.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.223e-05/0.2342, allocations: 11.86 kB / 424.6 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.2343, allocations: 11.92 kB / 424.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003768/0.2347, allocations: 91.78 kB / 424.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.2348, allocations: 43.8 kB / 424.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.913e-05/0.2349, allocations: 23.97 kB / 424.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.206e-05/0.2349, allocations: 15.94 kB / 424.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.52e-05/0.235, allocations: 27.91 kB / 424.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.235, allocations: 0 / 424.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-05/0.2351, allocations: 35.97 kB / 424.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.139e-05/0.2351, allocations: 27.84 kB / 424.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.862e-05/0.2352, allocations: 31.75 kB / 424.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.2353, allocations: 96.45 kB / 425 MB, free: 13.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.2353, allocations: 0 / 425 MB, free: 13.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2353, allocations: 0 / 425 MB, free: 13.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.2353, allocations: 8 kB / 425 MB, free: 13.02 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.0004461/0.2358, allocations: 309.8 kB / 425.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.2358, allocations: 12.03 kB / 425.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.938e-06/0.2358, allocations: 192 / 425.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.319e-05/0.2359, allocations: 38.73 kB / 425.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.093e-05/0.2359, allocations: 16.84 kB / 425.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.2361, allocations: 141.5 kB / 425.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-06/0.2361, allocations: 4.375 kB / 425.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.2361, allocations: 12.36 kB / 425.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.2364, allocations: 153.2 kB / 425.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.2364, allocations: 0 / 425.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.2364, allocations: 7.938 kB / 425.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2364, allocations: 0 / 425.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.549e-05/0.2365, allocations: 23.94 kB / 425.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002772/0.2367, allocations: 244.8 kB / 425.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.863e-05/0.2368, allocations: 38.56 kB / 426 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.752e-05/0.2369, allocations: 20.86 kB / 426 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003631/0.2372, allocations: 55.98 kB / 426.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.2373, allocations: 42.48 kB / 426.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.2373, allocations: 0 / 426.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001849/0.2374, allocations: 85.64 kB / 426.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.2375, allocations: 55.41 kB / 426.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.2376, allocations: 155.4 kB / 426.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.2376, allocations: 25.7 kB / 426.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.783e-05/0.2377, allocations: 88.14 kB / 426.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.2377, allocations: 11.94 kB / 426.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.2378, allocations: 21.72 kB / 426.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.2379, allocations: 322.8 kB / 426.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.592e-05/0.2379, allocations: 27.92 kB / 426.9 MB, free: 10.94 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.197e-05/0.238, allocations: 65.94 kB / 426.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.524e-05/0.2381, allocations: 77.94 kB / 427 MB, free: 10.76 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2381, allocations: 0 / 427 MB, free: 10.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001561/0.2382, allocations: 121.4 kB / 427.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.2383, allocations: 4 kB / 427.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.2383, allocations: 4 kB / 427.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.2383, allocations: 8.156 kB / 427.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.043e-05/0.2383, allocations: 16 kB / 427.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.2383, allocations: 4 kB / 427.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.755e-05/0.2384, allocations: 15.83 kB / 427.2 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.2384, allocations: 4 kB / 427.2 MB, free: 10.58 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.0001043/0.2385, allocations: 133.8 kB / 427.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.2386, allocations: 69.7 kB / 427.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.2388, allocations: 86.33 kB / 427.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2388, allocations: 7.984 kB / 427.5 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.2388, allocations: 0 / 427.5 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2388, allocations: 3.938 kB / 427.5 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.2389, allocations: 140.7 kB / 427.6 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.2389, allocations: 0 / 427.6 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.919e-05/0.2389, allocations: 11.98 kB / 427.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.2389, allocations: 0 / 427.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.2389, allocations: 4 kB / 427.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.2389, allocations: 0 / 427.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2389, allocations: 0 / 427.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.2391, allocations: 109 kB / 427.7 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.2391, allocations: 19.89 kB / 427.8 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.2391, allocations: 11.92 kB / 427.8 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.181e-05/0.2392, allocations: 0 / 427.8 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-06/0.2392, allocations: 0 / 427.8 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.2392, allocations: 4 kB / 427.8 MB, free: 9.902 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.781e-05/0.2393, allocations: 124.1 kB / 427.9 MB, free: 9.785 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2393, allocations: 0 / 427.9 MB, free: 9.785 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002091/0.2395, allocations: 16 kB / 427.9 MB, free: 9.77 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.0005227/0.24, allocations: 0.6747 MB / 428.6 MB, free: 9.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001189/0.2401, allocations: 51.86 kB / 428.6 MB, free: 9.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2401, allocations: 448 / 428.6 MB, free: 9.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.2401, allocations: 4 kB / 428.6 MB, free: 9.016 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.2405, allocations: 84.98 kB / 428.7 MB, free: 8.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.2418, allocations: 1.463 MB / 430.2 MB, free: 7.348 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.2421, allocations: 0.7078 MB / 430.9 MB, free: 6.613 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.974e-05/0.2422, allocations: 9.047 kB / 430.9 MB, free: 6.602 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.597e-05/0.2422, allocations: 23.42 kB / 430.9 MB, free: 6.578 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2422, allocations: 0 / 430.9 MB, free: 6.578 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02726/0.2695, allocations: 2.782 MB / 433.7 MB, free: 3.938 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.88, allocations: 14.5 kB / 433.7 MB, free: 3.926 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000215433 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.320399985008407]