Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 171.9 kB / 16.14 MB, free: 5.629 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.4 MB / 222.3 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008104/0.0008108, allocations: 101.2 kB / 270.7 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07806/0.07806, allocations: 12.59 MB / 331.5 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004169/0.000417, allocations: 12 kB / 392.8 MB, free: 65.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09693/0.09736, allocations: 50.37 MB / 443.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise): time 0.001089/0.09851, allocations: 0.5944 MB / 443.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004995/0.09902, allocations: 251.2 kB / 444 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.628e-05/0.0991, allocations: 7.938 kB / 444 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.004e-05/0.09914, allocations: 0 / 444 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.09928, allocations: 3.938 kB / 444 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.09962, allocations: 91.84 kB / 444.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.621e-05/0.09971, allocations: 47.8 kB / 444.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.897e-05/0.09981, allocations: 15.98 kB / 444.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.737e-05/0.09984, allocations: 15.88 kB / 444.2 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.287e-05/0.09991, allocations: 23.84 kB / 444.2 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.09994, allocations: 4 kB / 444.2 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.811e-05/0.1, allocations: 31.97 kB / 444.2 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.159e-05/0.1001, allocations: 23.91 kB / 444.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.041e-05/0.1001, allocations: 49.52 kB / 444.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.1003, allocations: 79.69 kB / 444.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1003, allocations: 0 / 444.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1003, allocations: 0 / 444.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.1003, allocations: 4 kB / 444.4 MB, free: 14.08 MB / 298.7 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.0003804/0.1007, allocations: 383.4 kB / 444.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.1007, allocations: 8.031 kB / 444.8 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.559e-05/0.1008, allocations: 34.75 kB / 444.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.43e-05/0.1008, allocations: 12.84 kB / 444.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.1009, allocations: 200 kB / 445 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-06/0.101, allocations: 4.375 kB / 445 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.101, allocations: 384 / 445 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.1012, allocations: 165.4 kB / 445.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.1013, allocations: 7.922 kB / 445.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.1013, allocations: 0 / 445.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1013, allocations: 0 / 445.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.252e-05/0.1013, allocations: 23.98 kB / 445.2 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002146/0.1016, allocations: 281.5 kB / 445.5 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.852e-05/0.1016, allocations: 42.56 kB / 445.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.385e-05/0.1017, allocations: 28.89 kB / 445.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005637/0.1022, allocations: 0.5817 MB / 446.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.1023, allocations: 30.56 kB / 446.1 MB, free: 11.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.1023, allocations: 0 / 446.1 MB, free: 11.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001747/0.1025, allocations: 89.59 kB / 446.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.1025, allocations: 59.41 kB / 446.3 MB, free: 11.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.28e-05/0.1026, allocations: 149.8 kB / 446.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.1026, allocations: 25.7 kB / 446.5 MB, free: 11.63 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.161e-05/0.1027, allocations: 92.12 kB / 446.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.1027, allocations: 15.89 kB / 446.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.1027, allocations: 3.938 kB / 446.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.262e-05/0.1027, allocations: 326.8 kB / 446.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.409e-05/0.1028, allocations: 16 kB / 446.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.926e-05/0.1028, allocations: 65.92 kB / 447 MB, free: 11.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.987e-05/0.1029, allocations: 81.94 kB / 447.1 MB, free: 10.99 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1029, allocations: 0 / 447.1 MB, free: 10.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001197/0.103, allocations: 113.4 kB / 447.2 MB, free: 10.87 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.103, allocations: 4 kB / 447.2 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.103, allocations: 8 kB / 447.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.1031, allocations: 3.938 kB / 447.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.396e-05/0.1031, allocations: 19.98 kB / 447.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1032, allocations: 0 / 447.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.317e-05/0.1032, allocations: 8 kB / 447.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.1032, allocations: 8.156 kB / 447.2 MB, free: 10.82 MB / 298.7 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 (uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[1],$CLKPRE.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 8.108e-05/0.1033, allocations: 134.6 kB / 447.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.3e-05/0.1034, allocations: 69.5 kB / 447.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.1035, allocations: 82.39 kB / 447.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1035, allocations: 4 kB / 447.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.1035, allocations: 0 / 447.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1035, allocations: 3.938 kB / 447.5 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.543e-05/0.1036, allocations: 173.6 kB / 447.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.1036, allocations: 4 kB / 447.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.262e-05/0.1037, allocations: 11.98 kB / 447.7 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.1037, allocations: 0 / 447.7 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.1037, allocations: 0 / 447.7 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1037, allocations: 0 / 447.7 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1037, allocations: 0 / 447.7 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.1038, allocations: 96.97 kB / 447.8 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.316e-05/0.1039, allocations: 104.9 kB / 447.9 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.1039, allocations: 8.172 kB / 447.9 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.234e-05/0.1039, allocations: 4 kB / 447.9 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-06/0.1039, allocations: 3.938 kB / 447.9 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.104, allocations: 0 / 447.9 MB, free: 10.03 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.336e-05/0.104, allocations: 119.2 kB / 448 MB, free: 9.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.104, allocations: 0 / 448 MB, free: 9.91 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001942/0.1042, allocations: 16 kB / 448 MB, free: 9.895 MB / 298.7 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.0003626/0.1046, allocations: 0.6749 MB / 448.7 MB, free: 9.188 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00011/0.1047, allocations: 48.06 kB / 448.8 MB, free: 9.141 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1048, allocations: 0 / 448.8 MB, free: 9.141 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.61e-07/0.1048, allocations: 0 / 448.8 MB, free: 9.141 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.1051, allocations: 94.86 kB / 448.8 MB, free: 9.043 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000675/0.1058, allocations: 0.6171 MB / 449.5 MB, free: 8.348 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.106, allocations: 0.7004 MB / 450.2 MB, free: 7.621 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.656e-05/0.106, allocations: 12.66 kB / 450.2 MB, free: 7.609 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.106, allocations: 19.44 kB / 450.2 MB, free: 7.59 MB / 298.7 MB Notification: Performance of SimCode: time 1.032e-06/0.106, allocations: 0 / 450.2 MB, free: 7.59 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01176/0.1178, allocations: 2.305 MB / 452.5 MB, free: 5.281 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/0.118, allocations: 236.2 kB / 452.7 MB, free: 5.016 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/1.817, allocations: 4 kB / 452.7 MB, free: 5.012 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise_res.mat does not exist to compare? outputFormat=mat