Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.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.001761/0.001761, allocations: 110 kB / 20.43 MB, free: 1.453 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.00226/0.00226, allocations: 213.1 kB / 23.74 MB, free: 4.66 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.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.UniformNoiseXorshift64star,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 67.89 kB / 377.8 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2613, allocations: 53.41 MB / 431.2 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.002413/0.2637, allocations: 0.8957 MB / 432.1 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000636/0.2644, allocations: 271.1 kB / 432.4 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.394e-05/0.2645, allocations: 0 / 432.4 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.813e-05/0.2645, allocations: 11.88 kB / 432.4 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.2648, allocations: 31.84 kB / 432.4 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.2651, allocations: 43.89 kB / 432.4 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.2652, allocations: 47.84 kB / 432.5 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.2653, allocations: 12.17 kB / 432.5 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.445e-05/0.2653, allocations: 15.94 kB / 432.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.185e-05/0.2654, allocations: 31.78 kB / 432.5 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.2654, allocations: 0 / 432.5 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.764e-05/0.2655, allocations: 27.98 kB / 432.6 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.956e-05/0.2656, allocations: 19.91 kB / 432.6 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.494e-05/0.2656, allocations: 27.81 kB / 432.6 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.2658, allocations: 80.06 kB / 432.7 MB, free: 5.184 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2658, allocations: 0 / 432.7 MB, free: 5.184 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2658, allocations: 0 / 432.7 MB, free: 5.184 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.2658, allocations: 4 kB / 432.7 MB, free: 5.18 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005176/0.2663, allocations: 309.9 kB / 433 MB, free: 4.848 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.2664, allocations: 8.031 kB / 433 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.12e-05/0.2664, allocations: 38.62 kB / 433 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.185e-05/0.2664, allocations: 12.84 kB / 433.1 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.2667, allocations: 149 kB / 433.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.2667, allocations: 4.375 kB / 433.2 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.2667, allocations: 4.375 kB / 433.2 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.2671, allocations: 149.1 kB / 433.4 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2671, allocations: 0 / 433.4 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.2671, allocations: 12 kB / 433.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.2671, allocations: 0 / 433.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.854e-05/0.2671, allocations: 16 kB / 433.4 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003703/0.2675, allocations: 248.7 kB / 433.6 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.2676, allocations: 46.56 kB / 433.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.378e-05/0.2677, allocations: 24.95 kB / 433.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.2677, allocations: 4 kB / 433.7 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.2677, allocations: 30.56 kB / 433.7 MB, free: 4 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.2677, allocations: 0 / 433.7 MB, free: 4 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002053/0.2679, allocations: 85.56 kB / 433.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.268, allocations: 51.41 kB / 433.9 MB, free: 3.848 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.2681, allocations: 152.5 kB / 434 MB, free: 3.691 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.2682, allocations: 25.7 kB / 434 MB, free: 3.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.096e-05/0.2682, allocations: 92.14 kB / 434.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.2682, allocations: 11.92 kB / 434.1 MB, free: 3.555 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.2683, allocations: 25.67 kB / 434.2 MB, free: 3.523 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.2684, allocations: 322.8 kB / 434.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.011e-05/0.2684, allocations: 12 kB / 434.5 MB, free: 3.188 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.58e-05/0.2685, allocations: 53.12 kB / 434.5 MB, free: 3.117 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.209e-05/0.2686, allocations: 69.02 kB / 434.6 MB, free: 3.031 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2686, allocations: 0 / 434.6 MB, free: 3.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001475/0.2687, allocations: 89.56 kB / 434.7 MB, free: 2.938 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.2687, allocations: 11.98 kB / 434.7 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2687, allocations: 0 / 434.7 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.2688, allocations: 4 kB / 434.7 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.772e-05/0.2689, allocations: 12 kB / 434.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2689, allocations: 0 / 434.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.71e-05/0.2689, allocations: 7.953 kB / 434.7 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.2689, allocations: 4 kB / 434.7 MB, free: 2.898 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 ($CLKPRE.uniformNoiseXorshift64star.state64[2],uniformNoiseXorshift64star.state64[2],$CLKPRE.uniformNoiseXorshift64star.state64[1],uniformNoiseXorshift64star.state64[1]) * Number of discrete states: 0 () * Number of clocked states: 2 (uniformNoiseXorshift64star.state64[2],uniformNoiseXorshift64star.state64[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001234/0.269, allocations: 137.3 kB / 434.9 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.2691, allocations: 65.64 kB / 434.9 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.2693, allocations: 82.52 kB / 435 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2693, allocations: 3.938 kB / 435 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2693, allocations: 4 kB / 435 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2693, allocations: 0 / 435 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.2694, allocations: 152.6 kB / 435.2 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.2694, allocations: 0 / 435.2 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.835e-05/0.2695, allocations: 7.984 kB / 435.2 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2695, allocations: 4 kB / 435.2 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.2695, allocations: 0 / 435.2 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2695, allocations: 0 / 435.2 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2695, allocations: 7.938 kB / 435.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.2696, allocations: 93.02 kB / 435.3 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.2697, allocations: 19.89 kB / 435.3 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.2697, allocations: 8 kB / 435.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.575e-05/0.2697, allocations: 0 / 435.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.575e-06/0.2697, allocations: 7.938 kB / 435.3 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.2697, allocations: 3.984 kB / 435.3 MB, free: 2.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.952e-05/0.2698, allocations: 110 kB / 435.4 MB, free: 2.125 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2698, allocations: 0 / 435.4 MB, free: 2.125 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002144/0.27, allocations: 16 kB / 435.4 MB, free: 2.109 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: 2 (uniformNoiseXorshift64star.state64[1],uniformNoiseXorshift64star.state64[2]) * Number of discrete states: 0 () * Number of clocked states: 2 (uniformNoiseXorshift64star.state64[1],uniformNoiseXorshift64star.state64[2]) * 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.0006509/0.2707, allocations: 0.6774 MB / 436.1 MB, free: 1.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.2708, allocations: 39.92 kB / 436.2 MB, free: 1.371 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2708, allocations: 0 / 436.2 MB, free: 1.371 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.2708, allocations: 0 / 436.2 MB, free: 1.371 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.2711, allocations: 65.64 kB / 436.2 MB, free: 1.301 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.2725, allocations: 1.392 MB / 437.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.2728, allocations: 0.7047 MB / 438.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.21e-05/0.2728, allocations: 7.781 kB / 438.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.2729, allocations: 23.36 kB / 438.4 MB, free: 15.03 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2729, allocations: 0 / 438.4 MB, free: 15.03 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02957/0.3024, allocations: 2.417 MB / 440.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.99, allocations: 7.938 kB / 440.8 MB, free: 12.73 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star_fmu --startTime=0 --stopTime=1 --stepSize=0.000197981 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoiseXorshift64star/UniformNoiseXorshift64star.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.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.36015312303789]