Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.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.SampleWithADeffects,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects",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.001514/0.001513, allocations: 177.7 kB / 8.048 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.203/2.203, allocations: 205.3 MB / 213.8 MB, free: 13.76 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.001309/0.001309, allocations: 93.7 kB / 261.8 MB, free: 13.45 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.1105/0.1105, allocations: 12.57 MB / 322.3 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.53e-05/2.529e-05, allocations: 8 kB / 379 MB, free: 75.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1009, allocations: 50.37 MB / 429.4 MB, free: 24.83 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4678/0.5687, allocations: 79.02 MB / 0.4965 GB, free: 11.73 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/0.569, allocations: 79.06 kB / 0.4966 GB, free: 11.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01958/0.5886, allocations: 4.559 MB / 0.501 GB, free: 11.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.5887, allocations: 0 / 0.501 GB, free: 11.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.144e-05/0.5887, allocations: 11.41 kB / 0.5011 GB, free: 11.18 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000684/0.5894, allocations: 448.7 kB / 0.5015 GB, free: 10.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.5895, allocations: 11.53 kB / 0.5015 GB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.403e-05/0.5896, allocations: 18.77 kB / 0.5015 GB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003762/0.59, allocations: 231.5 kB / 0.5017 GB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.59, allocations: 7.844 kB / 0.5017 GB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.59, allocations: 7.656 kB / 0.5017 GB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002047/0.5902, allocations: 58.86 kB / 0.5018 GB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005609/0.5908, allocations: 267.6 kB / 0.5021 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.5908, allocations: 7.781 kB / 0.5021 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.5909, allocations: 0 / 0.5021 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.5909, allocations: 0 / 0.5021 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004967/0.5914, allocations: 320 kB / 0.5024 GB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.5918, allocations: 224.7 kB / 0.5026 GB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.592, allocations: 79.69 kB / 0.5027 GB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006659/0.5927, allocations: 0.5797 MB / 0.5032 GB, free: 9.375 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.5927, allocations: 34.44 kB / 0.5033 GB, free: 9.336 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 2.324e-06/0.5927, allocations: 0 / 0.5033 GB, free: 9.336 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004344/0.5932, allocations: 148.5 kB / 0.5034 GB, free: 9.289 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.625e-05/0.5932, allocations: 109.2 kB / 0.5035 GB, free: 9.164 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.5935, allocations: 170.6 kB / 0.5037 GB, free: 9.062 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.5935, allocations: 29.58 kB / 0.5037 GB, free: 9.031 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.042e-05/0.5936, allocations: 111 kB / 0.5038 GB, free: 8.941 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.5936, allocations: 16.67 kB / 0.5038 GB, free: 8.938 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-06/0.5936, allocations: 0 / 0.5038 GB, free: 8.938 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.468e-05/0.5937, allocations: 326.7 kB / 0.5041 GB, free: 8.625 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.833e-05/0.5938, allocations: 27.94 kB / 0.5042 GB, free: 8.625 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.5939, allocations: 160.8 kB / 0.5043 GB, free: 8.457 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.5941, allocations: 60.42 kB / 0.5044 GB, free: 8.445 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.5941, allocations: 0 / 0.5044 GB, free: 8.445 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003536/0.5944, allocations: 176.5 kB / 0.5045 GB, free: 8.387 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.5945, allocations: 19.53 kB / 0.5046 GB, free: 8.375 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.5945, allocations: 7.969 kB / 0.5046 GB, free: 8.371 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.5945, allocations: 7.719 kB / 0.5046 GB, free: 8.371 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.5948, allocations: 40.67 kB / 0.5046 GB, free: 8.367 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.5948, allocations: 15.58 kB / 0.5046 GB, free: 8.359 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.595, allocations: 15.83 kB / 0.5046 GB, free: 8.352 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.5951, allocations: 10.84 kB / 0.5046 GB, free: 8.352 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 (sample.noise.seedState[3],$CLKPRE.sample.noise.seedState[3],sample.noise.seedState[2],$CLKPRE.sample.noise.seedState[2],sample.noise.seedState[1],$CLKPRE.sample.noise.seedState[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001355/0.5952, allocations: 125.9 kB / 0.5048 GB, free: 8.234 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003778/0.5956, allocations: 143.3 kB / 0.5049 GB, free: 8.191 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.349e-05/0.5957, allocations: 15.53 kB / 0.5049 GB, free: 8.184 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003934/0.5961, allocations: 151 kB / 0.5051 GB, free: 8.137 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.5961, allocations: 10.2 kB / 0.5051 GB, free: 8.133 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.5961, allocations: 0 / 0.5051 GB, free: 8.133 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.5961, allocations: 0 / 0.5051 GB, free: 8.133 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.5964, allocations: 197.1 kB / 0.5053 GB, free: 7.969 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.5964, allocations: 3.844 kB / 0.5053 GB, free: 7.969 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002739/0.5967, allocations: 38.55 kB / 0.5053 GB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.054e-06/0.5967, allocations: 0 / 0.5053 GB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.5967, allocations: 2.672 kB / 0.5053 GB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.5967, allocations: 3.969 kB / 0.5053 GB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.5968, allocations: 0 / 0.5053 GB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003629/0.5971, allocations: 265 kB / 0.5056 GB, free: 7.789 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.5973, allocations: 119.7 kB / 0.5057 GB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.616e-05/0.5973, allocations: 0 / 0.5057 GB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.5975, allocations: 14.36 kB / 0.5057 GB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.5976, allocations: 2.25 kB / 0.5057 GB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.5976, allocations: 7.219 kB / 0.5057 GB, free: 7.684 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00013/0.5978, allocations: 130.4 kB / 0.5058 GB, free: 7.609 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5978, allocations: 0 / 0.5058 GB, free: 7.609 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005265/0.5983, allocations: 41.97 kB / 0.5059 GB, free: 7.598 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (sample.noise.seedState[1],sample.noise.seedState[2],sample.noise.seedState[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008702/0.5992, allocations: 0.9446 MB / 0.5068 GB, free: 6.828 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000328/0.5996, allocations: 115.8 kB / 0.5069 GB, free: 6.812 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5996, allocations: 0 / 0.5069 GB, free: 6.812 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.305e-05/0.5996, allocations: 3.906 kB / 0.5069 GB, free: 6.812 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006521/0.6003, allocations: 132.9 kB / 0.507 GB, free: 6.766 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009186/0.6012, allocations: 269.8 kB / 0.5073 GB, free: 6.605 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.6014, allocations: 0.736 MB / 0.508 GB, free: 5.895 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.302e-05/0.6015, allocations: 16.86 kB / 0.508 GB, free: 5.891 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.874e-05/0.6016, allocations: 45.61 kB / 0.5081 GB, free: 5.879 MB / 330.7 MB Notification: Performance of SimCode: time 2.174e-06/0.6017, allocations: 0 / 0.5081 GB, free: 5.879 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04129/0.643, allocations: 3.359 MB / 0.5113 GB, free: 4.277 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/0.6433, allocations: 185.3 kB / 0.5115 GB, free: 4.078 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.447/3.09, allocations: 2.531 kB / 0.5115 GB, free: 4.078 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat does not exist to compare? outputFormat=mat