Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001369/0.001369, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.001472/0.001472, allocations: 208.9 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.55/1.55, allocations: 230.5 MB / 254.7 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002576/0.002576, allocations: 67.89 kB / 373.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.137, allocations: 53.31 MB / 426.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002237/0.1392, allocations: 0.8846 MB / 427.8 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006132/0.1398, allocations: 259.1 kB / 428 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.269e-05/0.1399, allocations: 0 / 428 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.581e-05/0.14, allocations: 7.922 kB / 428 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.1401, allocations: 7.938 kB / 428 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004191/0.1405, allocations: 103.7 kB / 428.1 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.1406, allocations: 39.86 kB / 428.2 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.937e-05/0.1407, allocations: 15.98 kB / 428.2 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.245e-05/0.1408, allocations: 19.92 kB / 428.2 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.435e-05/0.1408, allocations: 19.86 kB / 428.2 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.1409, allocations: 4 kB / 428.2 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002019/0.1411, allocations: 43.95 kB / 428.3 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.071e-05/0.1411, allocations: 23.86 kB / 428.3 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.654e-05/0.1412, allocations: 31.8 kB / 428.3 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.1414, allocations: 91.61 kB / 428.4 MB, free: 3.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1414, allocations: 0 / 428.4 MB, free: 3.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1414, allocations: 4 kB / 428.4 MB, free: 3.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1414, allocations: 0 / 428.4 MB, free: 3.289 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005362/0.1419, allocations: 395 kB / 428.8 MB, free: 2.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.1419, allocations: 8.031 kB / 428.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.263e-05/0.142, allocations: 38.75 kB / 428.9 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/0.142, allocations: 12.89 kB / 428.9 MB, free: 2.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.1423, allocations: 202.2 kB / 429.1 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.731e-06/0.1423, allocations: 4.375 kB / 429.1 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.1423, allocations: 4.375 kB / 429.1 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/0.1426, allocations: 145.5 kB / 429.2 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1426, allocations: 7.875 kB / 429.2 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.1426, allocations: 8 kB / 429.2 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1426, allocations: 0 / 429.2 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.646e-05/0.1427, allocations: 23.98 kB / 429.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/0.143, allocations: 277.7 kB / 429.5 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.1432, allocations: 38.52 kB / 429.6 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.158e-05/0.1432, allocations: 24.89 kB / 429.6 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007604/0.144, allocations: 0.5895 MB / 430.2 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.144, allocations: 30.56 kB / 430.2 MB, free: 1.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.144, allocations: 0 / 430.2 MB, free: 1.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002169/0.1442, allocations: 85.7 kB / 430.3 MB, free: 1.098 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.1443, allocations: 59.34 kB / 430.4 MB, free: 1.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.1444, allocations: 152.1 kB / 430.5 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.1444, allocations: 25.7 kB / 430.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.078e-05/0.1445, allocations: 96.12 kB / 430.6 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.1445, allocations: 3.953 kB / 430.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.1446, allocations: 25.72 kB / 430.6 MB, free: 0.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1447, allocations: 322.8 kB / 431 MB, free: 392 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.578e-05/0.1447, allocations: 19.98 kB / 431 MB, free: 372 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.508e-05/0.1448, allocations: 66 kB / 431 MB, free: 284 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.1449, allocations: 77.88 kB / 431.1 MB, free: 184 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1449, allocations: 3.938 kB / 431.1 MB, free: 180 kB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000167/0.1451, allocations: 113.5 kB / 431.2 MB, free: 60 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.1451, allocations: 8 kB / 431.2 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.1451, allocations: 240 / 431.2 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.994e-05/0.1452, allocations: 8.219 kB / 431.3 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.1453, allocations: 19.92 kB / 431.3 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.1453, allocations: 7.984 kB / 431.3 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.583e-05/0.1453, allocations: 3.953 kB / 431.3 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.1453, allocations: 7.938 kB / 431.3 MB, free: 4 kB / 350.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.0001393/0.1455, allocations: 133.8 kB / 431.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.1456, allocations: 73.58 kB / 431.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001538/0.1457, allocations: 78.39 kB / 431.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1457, allocations: 4 kB / 431.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1457, allocations: 0 / 431.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1458, allocations: 0 / 431.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.1459, allocations: 185.5 kB / 431.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.1459, allocations: 0 / 431.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.395e-05/0.1459, allocations: 4 kB / 431.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1459, allocations: 0 / 431.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.1459, allocations: 4 kB / 431.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.1459, allocations: 8.125 kB / 431.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1459, allocations: 0 / 431.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.1461, allocations: 116.9 kB / 431.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.77e-05/0.1462, allocations: 92.98 kB / 432 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.1462, allocations: 8 kB / 432 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.239e-05/0.1462, allocations: 0 / 432 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.123e-06/0.1462, allocations: 0 / 432 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.1462, allocations: 7.984 kB / 432 MB, free: 15.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.757e-05/0.1463, allocations: 118.2 kB / 432.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1463, allocations: 0 / 432.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002254/0.1465, allocations: 19.98 kB / 432.1 MB, free: 15.06 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: 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.0005455/0.1471, allocations: 0.671 MB / 432.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001425/0.1472, allocations: 51.92 kB / 432.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1472, allocations: 448 / 432.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.1472, allocations: 4 kB / 432.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004755/0.1477, allocations: 82.05 kB / 432.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.1495, allocations: 1.474 MB / 434.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.1499, allocations: 0.7002 MB / 435.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.351e-05/0.1499, allocations: 12.67 kB / 435.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.15, allocations: 23.61 kB / 435.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of SimCode: time 5e-07/0.15, allocations: 0 / 435.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02814/0.1781, allocations: 2.628 MB / 437.8 MB, free: 9.371 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.837/8.016, allocations: 0 / 437.8 MB, free: 9.371 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000215433 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.654783403035253] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'uniformNoise.y'] 8.085155906155705 8.287115369 8.143218518 Calling exit ...