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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001355/0.001355, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001508/0.001508, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 59.75 kB / 306.4 MB, free: 0.9297 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.104, allocations: 50.53 MB / 356.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.003492/0.1075, allocations: 0.9368 MB / 357.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008268/0.1084, allocations: 271.2 kB / 358.1 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.1085, allocations: 3.938 kB / 358.1 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.846e-05/0.1086, allocations: 0 / 358.1 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003783/0.109, allocations: 23.91 kB / 358.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.1093, allocations: 43.89 kB / 358.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.1094, allocations: 39.92 kB / 358.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.1096, allocations: 16.16 kB / 358.2 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.733e-05/0.1096, allocations: 19.88 kB / 358.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.211e-05/0.1097, allocations: 31.84 kB / 358.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.1097, allocations: 0 / 358.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.661e-05/0.1098, allocations: 23.92 kB / 358.3 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.75e-05/0.1099, allocations: 15.92 kB / 358.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.942e-05/0.11, allocations: 23.81 kB / 358.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.1101, allocations: 79.69 kB / 358.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1101, allocations: 0 / 358.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1101, allocations: 0 / 358.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.1101, allocations: 0 / 358.4 MB, free: 12.87 MB / 302.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.0005117/0.1107, allocations: 387.4 kB / 358.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.1107, allocations: 19.97 kB / 358.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.326e-05/0.1108, allocations: 38.73 kB / 358.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.1108, allocations: 8.844 kB / 358.8 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.111, allocations: 188.2 kB / 359 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.111, allocations: 4.375 kB / 359 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.111, allocations: 4.375 kB / 359 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.1113, allocations: 153.3 kB / 359.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1114, allocations: 3.984 kB / 359.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.1114, allocations: 0 / 359.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.1114, allocations: 0 / 359.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.421e-05/0.1115, allocations: 19.98 kB / 359.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003599/0.1118, allocations: 281.5 kB / 359.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.112, allocations: 54.56 kB / 359.5 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.629e-05/0.112, allocations: 16.92 kB / 359.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.125e-05/0.1121, allocations: 4 kB / 359.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.1121, allocations: 38.59 kB / 359.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.813e-06/0.1121, allocations: 0 / 359.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002293/0.1124, allocations: 77.53 kB / 359.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/0.1124, allocations: 55.41 kB / 359.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.1126, allocations: 152.9 kB / 359.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1126, allocations: 25.7 kB / 359.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.98e-05/0.1127, allocations: 84.14 kB / 360 MB, free: 11.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.1127, allocations: 15.84 kB / 360 MB, free: 11.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-05/0.1128, allocations: 21.7 kB / 360 MB, free: 11.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1129, allocations: 322.8 kB / 360.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.464e-05/0.1129, allocations: 11.98 kB / 360.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.558e-05/0.113, allocations: 53.33 kB / 360.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.983e-05/0.1131, allocations: 69.03 kB / 360.5 MB, free: 10.53 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1131, allocations: 3.938 kB / 360.5 MB, free: 10.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001465/0.1133, allocations: 93.45 kB / 360.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1133, allocations: 4 kB / 360.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1133, allocations: 4 kB / 360.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1133, allocations: 0 / 360.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1134, allocations: 15.98 kB / 360.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.1135, allocations: 4.188 kB / 360.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.511e-05/0.1135, allocations: 8 kB / 360.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.1135, allocations: 4 kB / 360.6 MB, free: 10.39 MB / 302.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.0001786/0.1137, allocations: 141 kB / 360.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.185e-05/0.1138, allocations: 61.59 kB / 360.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001646/0.114, allocations: 86.44 kB / 360.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.114, allocations: 4 kB / 360.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.114, allocations: 0 / 360.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.114, allocations: 0 / 360.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.1142, allocations: 181.5 kB / 361.1 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.1142, allocations: 0 / 361.1 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.248e-05/0.1142, allocations: 8 kB / 361.1 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1142, allocations: 0 / 361.1 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.1142, allocations: 0 / 361.1 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1143, allocations: 3.938 kB / 361.1 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.1143, allocations: 3.984 kB / 361.1 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.1144, allocations: 96.97 kB / 361.2 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.171e-05/0.1145, allocations: 101 kB / 361.3 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.1145, allocations: 0 / 361.3 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.802e-05/0.1145, allocations: 0 / 361.3 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-06/0.1145, allocations: 0 / 361.3 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.1146, allocations: 4 kB / 361.3 MB, free: 9.609 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.669e-05/0.1146, allocations: 115.2 kB / 361.4 MB, free: 9.496 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1146, allocations: 0 / 361.4 MB, free: 9.496 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002246/0.1149, allocations: 12 kB / 361.4 MB, free: 9.484 MB / 302.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.0006346/0.1155, allocations: 0.6844 MB / 362.1 MB, free: 8.773 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001319/0.1157, allocations: 43.91 kB / 362.1 MB, free: 8.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1157, allocations: 0 / 362.1 MB, free: 8.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.1157, allocations: 448 / 362.1 MB, free: 8.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.116, allocations: 65.72 kB / 362.2 MB, free: 8.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008351/0.1168, allocations: 0.5766 MB / 362.8 MB, free: 8.008 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.1172, allocations: 0.6965 MB / 363.5 MB, free: 7.285 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.71e-05/0.1172, allocations: 4 kB / 363.5 MB, free: 7.281 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.084e-05/0.1173, allocations: 23.42 kB / 363.5 MB, free: 7.262 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1173, allocations: 7.938 kB / 363.5 MB, free: 7.254 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01193/0.1292, allocations: 2.028 MB / 365.5 MB, free: 5.383 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002886/0.1295, allocations: 273.5 kB / 365.8 MB, free: 5.02 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.865/1.994, allocations: 0 / 365.8 MB, free: 5.02 MB / 302.1 MB (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 --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) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches