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.00196/0.00196, allocations: 116.5 kB / 20.44 MB, free: 1.469 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.002342/0.002342, allocations: 212.5 kB / 23.74 MB, free: 4.695 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.448/1.448, allocations: 230.5 MB / 257.4 MB, free: 8.012 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 59.91 kB / 377.8 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2435, allocations: 53.41 MB / 431.2 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002152/0.2456, allocations: 0.9039 MB / 432.1 MB, free: 5.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006178/0.2463, allocations: 251.1 kB / 432.3 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.774e-05/0.2463, allocations: 0 / 432.3 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.402e-05/0.2464, allocations: 7.922 kB / 432.4 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.2465, allocations: 15.86 kB / 432.4 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.2469, allocations: 95.16 kB / 432.5 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.2471, allocations: 43.86 kB / 432.5 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.3e-05/0.2472, allocations: 23.91 kB / 432.5 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.292e-05/0.2472, allocations: 19.94 kB / 432.5 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.878e-05/0.2473, allocations: 27.84 kB / 432.6 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.2473, allocations: 0 / 432.6 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.2474, allocations: 39.97 kB / 432.6 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.097e-05/0.2474, allocations: 19.92 kB / 432.6 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.16e-05/0.2475, allocations: 31.8 kB / 432.7 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.2477, allocations: 95.97 kB / 432.8 MB, free: 5.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2477, allocations: 3.938 kB / 432.8 MB, free: 5.156 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2477, allocations: 0 / 432.8 MB, free: 5.156 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.2477, allocations: 4 kB / 432.8 MB, free: 5.152 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.0005059/0.2482, allocations: 313.9 kB / 433.1 MB, free: 4.812 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.2482, allocations: 12.03 kB / 433.1 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.936e-05/0.2483, allocations: 34.73 kB / 433.1 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.428e-05/0.2483, allocations: 8.891 kB / 433.1 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.2485, allocations: 141.1 kB / 433.3 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.2486, allocations: 8.375 kB / 433.3 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.2486, allocations: 4.375 kB / 433.3 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.2489, allocations: 157.5 kB / 433.4 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.2489, allocations: 3.938 kB / 433.4 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.2489, allocations: 4 kB / 433.4 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2489, allocations: 0 / 433.4 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.734e-05/0.249, allocations: 23.94 kB / 433.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003345/0.2493, allocations: 248.8 kB / 433.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.801e-05/0.2494, allocations: 42.56 kB / 433.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.184e-05/0.2494, allocations: 20.84 kB / 433.8 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004077/0.2498, allocations: 59.98 kB / 433.8 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.2499, allocations: 30.56 kB / 433.9 MB, free: 3.914 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.183e-06/0.2499, allocations: 0 / 433.9 MB, free: 3.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002126/0.2501, allocations: 89.56 kB / 433.9 MB, free: 3.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.2501, allocations: 55.41 kB / 434 MB, free: 3.754 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.2503, allocations: 153.1 kB / 434.1 MB, free: 3.598 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.2503, allocations: 29.64 kB / 434.2 MB, free: 3.562 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.163e-05/0.2503, allocations: 96.14 kB / 434.3 MB, free: 3.465 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.2504, allocations: 11.94 kB / 434.3 MB, free: 3.453 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.2504, allocations: 21.72 kB / 434.3 MB, free: 3.426 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.2506, allocations: 326.8 kB / 434.6 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.593e-05/0.2506, allocations: 19.98 kB / 434.6 MB, free: 3.078 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.892e-05/0.2507, allocations: 69.88 kB / 434.7 MB, free: 2.988 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.917e-05/0.2508, allocations: 77.94 kB / 434.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.2508, allocations: 4 kB / 434.8 MB, free: 2.887 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001555/0.2509, allocations: 109.4 kB / 434.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.2509, allocations: 7.984 kB / 434.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2509, allocations: 4 kB / 434.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.251, allocations: 0 / 434.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.09e-05/0.251, allocations: 16 kB / 434.9 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.251, allocations: 224 / 434.9 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.678e-05/0.2511, allocations: 11.95 kB / 434.9 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.2511, allocations: 7.938 kB / 434.9 MB, free: 2.727 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.0001175/0.2512, allocations: 140.8 kB / 435.1 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.895e-05/0.2513, allocations: 69.7 kB / 435.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/0.2515, allocations: 82.33 kB / 435.2 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.2515, allocations: 4 kB / 435.2 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2515, allocations: 3.984 kB / 435.2 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2515, allocations: 3.938 kB / 435.2 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.2516, allocations: 156.6 kB / 435.4 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.2516, allocations: 0 / 435.4 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.727e-05/0.2517, allocations: 7.984 kB / 435.4 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2517, allocations: 0 / 435.4 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.2517, allocations: 0 / 435.4 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2517, allocations: 0 / 435.4 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2517, allocations: 0 / 435.4 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.2518, allocations: 97.02 kB / 435.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.8e-05/0.2519, allocations: 27.94 kB / 435.5 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.2519, allocations: 15.92 kB / 435.5 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.709e-05/0.2519, allocations: 0 / 435.5 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-06/0.2519, allocations: 0 / 435.5 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.2519, allocations: 4 kB / 435.5 MB, free: 2.043 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.2521, allocations: 119.2 kB / 435.7 MB, free: 1.926 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2521, allocations: 0 / 435.7 MB, free: 1.926 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002112/0.2523, allocations: 12 kB / 435.7 MB, free: 1.914 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.000556/0.2528, allocations: 0.6792 MB / 436.3 MB, free: 1.207 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001294/0.253, allocations: 55.78 kB / 436.4 MB, free: 1.152 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.253, allocations: 0 / 436.4 MB, free: 1.152 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.253, allocations: 4 kB / 436.4 MB, free: 1.148 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.2533, allocations: 86.05 kB / 436.5 MB, free: 1.059 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.2548, allocations: 1.457 MB / 437.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.2551, allocations: 0.704 MB / 438.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.298e-05/0.2552, allocations: 8.656 kB / 438.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.745e-05/0.2552, allocations: 23.42 kB / 438.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2552, allocations: 0 / 438.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/0.2843, allocations: 2.765 MB / 441.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.21, allocations: 15.36 kB / 441.5 MB, free: 12.05 MB / 350.1 MB " [Timeout remaining time 649] (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] Reference file matches [Calling sys.exit(0), Time elapsed: 13.62146052904427]