Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.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.00135/0.00135, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001551/0.001551, allocations: 212.6 kB / 23.04 MB, free: 5.082 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo): time 0.02726/0.02726, allocations: 3.928 MB / 317.2 MB, free: 15.31 MB / 254.1 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo) 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(AdvancedNoise.Examples.SignalBasedNoise,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_SignalBasedNoise",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AdvancedNoise.Examples.SignalBasedNoise,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_SignalBasedNoise",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AdvancedNoise requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 63.89 kB / 440.5 MB, free: 11.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1224, allocations: 54.16 MB / 494.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.003236/0.1256, allocations: 1.496 MB / 496.2 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002136/0.1278, allocations: 1.125 MB / 497.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.056e-05/0.1278, allocations: 7.938 kB / 497.3 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001602/0.128, allocations: 7.875 kB / 497.3 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.1282, allocations: 23.84 kB / 497.4 MB, free: 3 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/Generators/QuickXorshift64star/package.mo:6:13-93:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/Sources/SignalBasedNoise.mo:250:3-261:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.convertRealToIntegers'. Notification: Performance of NFTyping.typeClassSections: time 0.0006677/0.1288, allocations: 195.3 kB / 497.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.1291, allocations: 123.7 kB / 497.7 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1292, allocations: 8 kB / 497.7 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.1293, allocations: 51.77 kB / 497.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.117e-05/0.1294, allocations: 39.83 kB / 497.8 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.1294, allocations: 8 kB / 497.8 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003724/0.1298, allocations: 207.7 kB / 498 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.773e-05/0.1298, allocations: 19.92 kB / 498 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.077e-05/0.1299, allocations: 43.72 kB / 498 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003566/0.1303, allocations: 211.3 kB / 498.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1303, allocations: 0 / 498.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1303, allocations: 0 / 498.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1303, allocations: 3.938 kB / 498.2 MB, free: 2.105 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006092/0.1309, allocations: 357.4 kB / 498.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.1309, allocations: 8.031 kB / 498.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.72e-05/0.1309, allocations: 4.188 kB / 498.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.932e-05/0.131, allocations: 34.69 kB / 498.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004343/0.1314, allocations: 64.75 kB / 498.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.1317, allocations: 148.4 kB / 498.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.1317, allocations: 8.125 kB / 498.9 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.1317, allocations: 4 kB / 498.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.1319, allocations: 81.64 kB / 498.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.132, allocations: 3.938 kB / 498.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.132, allocations: 0 / 498.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.132, allocations: 4 kB / 498.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.1321, allocations: 55.95 kB / 499 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005936/0.1327, allocations: 335.7 kB / 499.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.1329, allocations: 78.56 kB / 499.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.157e-05/0.133, allocations: 32.84 kB / 499.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.133, allocations: 4 kB / 499.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.1331, allocations: 38.56 kB / 499.5 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.1331, allocations: 0 / 499.5 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004192/0.1335, allocations: 149.8 kB / 499.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.1335, allocations: 51.41 kB / 499.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.1337, allocations: 148.6 kB / 499.8 MB, free: 372 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.1337, allocations: 29.64 kB / 499.8 MB, free: 336 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.529e-05/0.1338, allocations: 104.1 kB / 500 MB, free: 228 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.1338, allocations: 31.92 kB / 500 MB, free: 196 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.284e-05/0.1339, allocations: 33.7 kB / 0.4883 GB, free: 156 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.134, allocations: 322.8 kB / 0.4886 GB, free: 15.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.221e-05/0.1341, allocations: 31.98 kB / 0.4886 GB, free: 15.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.117e-05/0.1342, allocations: 35.98 kB / 0.4887 GB, free: 15.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.1344, allocations: 76.83 kB / 0.4887 GB, free: 15.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.1344, allocations: 7.984 kB / 0.4887 GB, free: 15.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002697/0.1347, allocations: 137.5 kB / 0.4889 GB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.1347, allocations: 14.44 kB / 0.4889 GB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.1347, allocations: 4 kB / 0.4889 GB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1347, allocations: 0 / 0.4889 GB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.1348, allocations: 23.92 kB / 0.4889 GB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.1349, allocations: 11.98 kB / 0.4889 GB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.749e-05/0.1349, allocations: 4 kB / 0.4889 GB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.095e-05/0.1349, allocations: 27.95 kB / 0.489 GB, free: 15.45 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (globalSeed.seed,signalBasedNoise.actualGlobalSeed,globalSeed.id_impure,signalBasedNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001096/0.1351, allocations: 121.8 kB / 0.4891 GB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.1351, allocations: 7.953 kB / 0.4891 GB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.796e-05/0.1351, allocations: 12.72 kB / 0.4891 GB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1351, allocations: 3.984 kB / 0.4891 GB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.1352, allocations: 3.938 kB / 0.4891 GB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1352, allocations: 4 kB / 0.4891 GB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.1354, allocations: 172.6 kB / 0.4893 GB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1354, allocations: 4 kB / 0.4893 GB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.249e-05/0.1355, allocations: 15.98 kB / 0.4893 GB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1355, allocations: 0 / 0.4893 GB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.1355, allocations: 11.98 kB / 0.4893 GB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1355, allocations: 0 / 0.4893 GB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1355, allocations: 3.938 kB / 0.4893 GB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.1358, allocations: 215.4 kB / 0.4895 GB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.724e-05/0.1359, allocations: 27.88 kB / 0.4895 GB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.1359, allocations: 4 kB / 0.4895 GB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.136, allocations: 0 / 0.4895 GB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/0.136, allocations: 19.91 kB / 0.4896 GB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.572e-05/0.1361, allocations: 27.89 kB / 0.4896 GB, free: 14.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.542e-05/0.1361, allocations: 110.5 kB / 0.4897 GB, free: 14.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1361, allocations: 0 / 0.4897 GB, free: 14.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003411/0.1365, allocations: 59.81 kB / 0.4898 GB, free: 14.57 MB / 366.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: 1 (signalBasedNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.00107/0.1376, allocations: 0.8844 MB / 0.4906 GB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002396/0.1378, allocations: 87.81 kB / 0.4907 GB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1378, allocations: 4 kB / 0.4907 GB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.1379, allocations: 35.92 kB / 0.4907 GB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.1382, allocations: 18.95 kB / 0.4908 GB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.1401, allocations: 1.617 MB / 0.4923 GB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.1405, allocations: 0.704 MB / 0.493 GB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.067e-05/0.1405, allocations: 24.59 kB / 0.493 GB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.741e-05/0.1406, allocations: 35.41 kB / 0.4931 GB, free: 11.08 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1406, allocations: 0 / 0.4931 GB, free: 11.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02521/0.1658, allocations: 3.813 MB / 0.4968 GB, free: 7.367 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.51, allocations: 6.562 kB / 0.4968 GB, free: 7.363 MB / 366.1 MB " [Timeout remaining time 648] (rm -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AdvancedNoise_AdvancedNoise_Examples_SignalBasedNoise_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 AdvancedNoise_AdvancedNoise_Examples_SignalBasedNoise.fmu > AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.512515318987425] Failed to read output from testmodel.py, exit status != 0: 11.674300511018373 11.903579074 11.769709353 Calling exit ...