Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.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.SimpleControlledDrive.ClockedWith_AD_DA_Effects,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects",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.002241/0.002246, allocations: 181.1 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.097/2.097, allocations: 205.2 MB / 219 MB, free: 9.207 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.001102/0.001102, allocations: 89.52 kB / 267.1 MB, free: 9.277 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.108/0.108, allocations: 12.58 MB / 327.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.538e-05/3.542e-05, allocations: 4 kB / 386.1 MB, free: 69.51 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1023, allocations: 50.38 MB / 436.5 MB, free: 19.12 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4512/0.5536, allocations: 81.8 MB / 0.5061 GB, free: 11.95 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.5539, allocations: 78.53 kB / 0.5062 GB, free: 11.94 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03071/0.5846, allocations: 7.26 MB / 0.5133 GB, free: 9.16 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5847, allocations: 3.938 kB / 0.5133 GB, free: 9.156 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.673e-05/0.5848, allocations: 11.53 kB / 0.5133 GB, free: 9.152 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001121/0.5859, allocations: 0.569 MB / 0.5139 GB, free: 8.668 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.5859, allocations: 14.8 kB / 0.5139 GB, free: 8.664 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.86e-05/0.586, allocations: 60.95 kB / 0.5139 GB, free: 8.621 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.961e-05/0.5862, allocations: 46.59 kB / 0.514 GB, free: 8.598 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007813/0.5869, allocations: 350.2 kB / 0.5143 GB, free: 8.316 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.587, allocations: 26.3 kB / 0.5143 GB, free: 8.312 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.104e-05/0.5871, allocations: 30.12 kB / 0.5144 GB, free: 8.309 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.5884, allocations: 0.6634 MB / 0.515 GB, free: 8.047 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.5885, allocations: 3.984 kB / 0.515 GB, free: 8.043 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.317e-05/0.5885, allocations: 11.53 kB / 0.515 GB, free: 8.043 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.5885, allocations: 7.812 kB / 0.515 GB, free: 8.043 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004054/0.589, allocations: 152.8 kB / 0.5152 GB, free: 8.031 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.59, allocations: 0.7646 MB / 0.5159 GB, free: 7.379 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.591, allocations: 0.5502 MB / 0.5165 GB, free: 7.051 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000432/0.5915, allocations: 230.5 kB / 0.5167 GB, free: 7.004 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007172/0.5922, allocations: 0.5906 MB / 0.5173 GB, free: 6.328 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.5923, allocations: 40.88 kB / 0.5173 GB, free: 6.289 MB / 330.7 MB Notification: Performance of pre-optimization done (n=52): time 3.597e-06/0.5923, allocations: 4 kB / 0.5173 GB, free: 6.285 MB / 330.7 MB Notification: Performance of matching and sorting (n=52): time 0.000869/0.5932, allocations: 323.2 kB / 0.5176 GB, free: 6.199 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.5933, allocations: 184.9 kB / 0.5178 GB, free: 6.012 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.5936, allocations: 218.4 kB / 0.518 GB, free: 5.891 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.867e-05/0.5937, allocations: 32.83 kB / 0.518 GB, free: 5.859 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.5938, allocations: 150.2 kB / 0.5182 GB, free: 5.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.917e-05/0.5938, allocations: 56.67 kB / 0.5182 GB, free: 5.719 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.997e-05/0.5939, allocations: 11.53 kB / 0.5182 GB, free: 5.715 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.635e-05/0.594, allocations: 354.7 kB / 0.5186 GB, free: 5.387 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.5941, allocations: 63.34 kB / 0.5186 GB, free: 5.387 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003605/0.5945, allocations: 407.4 kB / 0.519 GB, free: 4.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.5948, allocations: 143.8 kB / 0.5192 GB, free: 4.887 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.5948, allocations: 3.844 kB / 0.5192 GB, free: 4.887 MB / 330.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008967/0.5957, allocations: 465.7 kB / 0.5196 GB, free: 4.684 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.5958, allocations: 12 kB / 0.5196 GB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.5958, allocations: 12 kB / 0.5196 GB, free: 4.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.585e-05/0.5959, allocations: 20.06 kB / 0.5196 GB, free: 4.641 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006347/0.5965, allocations: 123.1 kB / 0.5198 GB, free: 4.523 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.431e-05/0.5965, allocations: 19.94 kB / 0.5198 GB, free: 4.504 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003871/0.5969, allocations: 49.92 kB / 0.5198 GB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-05/0.597, allocations: 34.75 kB / 0.5199 GB, free: 4.434 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 (sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[1],$CLKPRE.sample1.noise.seedState[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.0001976/0.5972, allocations: 154.8 kB / 0.52 GB, free: 4.293 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006798/0.5979, allocations: 304 kB / 0.5203 GB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007776/0.5987, allocations: 318.2 kB / 0.5206 GB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.5987, allocations: 4 kB / 0.5206 GB, free: 3.828 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.5987, allocations: 4 kB / 0.5206 GB, free: 3.824 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.5987, allocations: 0 / 0.5206 GB, free: 3.824 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004702/0.5992, allocations: 335.5 kB / 0.5209 GB, free: 3.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/0.5993, allocations: 0 / 0.5209 GB, free: 3.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007629/0.6, allocations: 111.7 kB / 0.521 GB, free: 3.395 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/0.6001, allocations: 4 kB / 0.521 GB, free: 3.391 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.694e-05/0.6001, allocations: 11.44 kB / 0.5211 GB, free: 3.387 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.6001, allocations: 8 kB / 0.5211 GB, free: 3.379 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.6001, allocations: 0 / 0.5211 GB, free: 3.379 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.6013, allocations: 0.7021 MB / 0.5218 GB, free: 2.785 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.984e-05/0.6014, allocations: 124.2 kB / 0.5219 GB, free: 2.648 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.811e-05/0.6015, allocations: 18.61 kB / 0.5219 GB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003968/0.6019, allocations: 26.61 kB / 0.5219 GB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.602, allocations: 8.062 kB / 0.5219 GB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-05/0.602, allocations: 23.88 kB / 0.5219 GB, free: 2.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002152/0.6023, allocations: 171 kB / 0.5221 GB, free: 2.449 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.6023, allocations: 0 / 0.5221 GB, free: 2.449 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007272/0.603, allocations: 82 kB / 0.5222 GB, free: 2.383 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (load.phi,load.w) * Number of discrete variables: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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.001487/0.6045, allocations: 1.471 MB / 0.5236 GB, free: 1.023 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007223/0.6053, allocations: 313.7 kB / 0.5239 GB, free: 0.7852 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.6053, allocations: 0 / 0.5239 GB, free: 0.7852 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.361e-05/0.6053, allocations: 16.31 kB / 0.5239 GB, free: 0.7734 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.6065, allocations: 256.9 kB / 0.5242 GB, free: 0.5742 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.6089, allocations: 0.674 MB / 0.5248 GB, free: 15.95 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005445/0.6095, allocations: 0.816 MB / 0.5256 GB, free: 15.11 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002119/0.6097, allocations: 43.25 kB / 0.5257 GB, free: 15.07 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.61, allocations: 114.9 kB / 0.5258 GB, free: 15.02 MB / 346.7 MB Notification: Performance of SimCode: time 9.91e-07/0.61, allocations: 0 / 0.5258 GB, free: 15.02 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04059/0.6506, allocations: 7.056 MB / 0.5327 GB, free: 7.988 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002973/0.6509, allocations: 194.8 kB / 0.5329 GB, free: 7.754 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.764/3.415, allocations: 0 / 0.5329 GB, free: 7.754 MB / 346.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat does not exist to compare? outputFormat=mat