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.002278/0.002278, allocations: 181 kB / 8.049 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.389/2.389, allocations: 205.3 MB / 213.8 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 94.22 kB / 261.8 MB, free: 1.609 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.1587/0.1587, allocations: 12.61 MB / 322.4 MB, free: 15.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.199e-05/2.211e-05, allocations: 0 / 379 MB, free: 6.406 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3359, allocations: 50.36 MB / 429.4 MB, free: 18.24 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1996/0.5355, allocations: 81.15 MB / 0.4986 GB, free: 0.9844 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003348/0.5359, allocations: 71.95 kB / 0.4986 GB, free: 0.9141 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0352/0.5712, allocations: 7.224 MB / 0.5057 GB, free: 9.684 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5712, allocations: 0 / 0.5057 GB, free: 9.684 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.529e-05/0.5713, allocations: 12 kB / 0.5057 GB, free: 9.672 MB / 362.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.001449/0.5727, allocations: 0.5761 MB / 0.5063 GB, free: 9.051 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/0.5728, allocations: 8.031 kB / 0.5063 GB, free: 9.043 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.573, allocations: 44.12 kB / 0.5063 GB, free: 9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.5741, allocations: 354.6 kB / 0.5067 GB, free: 8.613 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/0.5742, allocations: 8 kB / 0.5067 GB, free: 8.605 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.026e-05/0.5743, allocations: 19.91 kB / 0.5067 GB, free: 8.586 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000575/0.5749, allocations: 153.3 kB / 0.5068 GB, free: 8.438 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.5764, allocations: 0.6032 MB / 0.5074 GB, free: 7.789 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.625e-05/0.5765, allocations: 3.938 kB / 0.5074 GB, free: 7.785 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.09e-05/0.5765, allocations: 4 kB / 0.5074 GB, free: 7.781 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.5765, allocations: 8 kB / 0.5074 GB, free: 7.773 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.578, allocations: 0.7142 MB / 0.5081 GB, free: 6.996 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.5793, allocations: 0.5135 MB / 0.5086 GB, free: 6.406 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005004/0.5799, allocations: 207.3 kB / 0.5088 GB, free: 6.191 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009124/0.5808, allocations: 0.5895 MB / 0.5094 GB, free: 5.473 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/0.5809, allocations: 42.56 kB / 0.5095 GB, free: 5.422 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 3.978e-06/0.5809, allocations: 3.938 kB / 0.5095 GB, free: 5.418 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.001044/0.582, allocations: 297.6 kB / 0.5097 GB, free: 5.121 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000174/0.5822, allocations: 170.3 kB / 0.5099 GB, free: 4.918 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003627/0.5825, allocations: 206.1 kB / 0.5101 GB, free: 4.707 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/0.5826, allocations: 29.73 kB / 0.5101 GB, free: 4.672 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.5828, allocations: 153.1 kB / 0.5103 GB, free: 4.516 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.749e-05/0.5829, allocations: 55.58 kB / 0.5103 GB, free: 4.461 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.61e-05/0.5829, allocations: 0 / 0.5103 GB, free: 4.461 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.5831, allocations: 346.8 kB / 0.5107 GB, free: 4.113 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.5833, allocations: 57.11 kB / 0.5107 GB, free: 4.059 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004534/0.5838, allocations: 392.6 kB / 0.5111 GB, free: 3.512 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003157/0.5841, allocations: 135.8 kB / 0.5112 GB, free: 3.379 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/0.5841, allocations: 4 kB / 0.5112 GB, free: 3.375 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001007/0.5851, allocations: 397.5 kB / 0.5116 GB, free: 2.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.5852, allocations: 8 kB / 0.5116 GB, free: 2.973 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/0.5852, allocations: 12 kB / 0.5116 GB, free: 2.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.286e-05/0.5853, allocations: 16 kB / 0.5116 GB, free: 2.945 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006781/0.586, allocations: 127.8 kB / 0.5118 GB, free: 2.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.325e-05/0.586, allocations: 23.92 kB / 0.5118 GB, free: 2.797 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004436/0.5865, allocations: 47.98 kB / 0.5118 GB, free: 2.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.824e-05/0.5865, allocations: 28 kB / 0.5118 GB, free: 2.723 MB / 362.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.0002702/0.5868, allocations: 135.2 kB / 0.512 GB, free: 2.586 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009188/0.5877, allocations: 297.4 kB / 0.5123 GB, free: 2.289 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.5879, allocations: 39.52 kB / 0.5123 GB, free: 2.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008704/0.5888, allocations: 289 kB / 0.5126 GB, free: 1.965 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/0.5888, allocations: 8 kB / 0.5126 GB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.5888, allocations: 0 / 0.5126 GB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/0.5888, allocations: 7.984 kB / 0.5126 GB, free: 1.949 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005863/0.5894, allocations: 273.8 kB / 0.5128 GB, free: 1.645 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.969e-05/0.5895, allocations: 11.88 kB / 0.5129 GB, free: 1.633 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000832/0.5903, allocations: 99.88 kB / 0.513 GB, free: 1.535 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.508e-05/0.5904, allocations: 4 kB / 0.513 GB, free: 1.531 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.99e-05/0.5904, allocations: 4 kB / 0.513 GB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-06/0.5904, allocations: 8 kB / 0.513 GB, free: 1.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.5904, allocations: 0 / 0.513 GB, free: 1.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.5919, allocations: 0.686 MB / 0.5136 GB, free: 0.793 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.5921, allocations: 112.6 kB / 0.5137 GB, free: 0.6641 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.56e-05/0.5922, allocations: 11.98 kB / 0.5138 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004514/0.5927, allocations: 15.98 kB / 0.5138 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.5928, allocations: 4 kB / 0.5138 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.813e-05/0.5928, allocations: 19.98 kB / 0.5138 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002573/0.5931, allocations: 166 kB / 0.514 GB, free: 460 kB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5931, allocations: 0 / 0.514 GB, free: 460 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008329/0.594, allocations: 63.94 kB / 0.514 GB, free: 396 kB / 362.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.2879/0.8819, allocations: 1.432 MB / 0.5154 GB, free: 88.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008126/0.8828, allocations: 279.9 kB / 0.5157 GB, free: 88.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.8828, allocations: 0.5312 kB / 0.5157 GB, free: 88.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.406e-05/0.8829, allocations: 17.78 kB / 0.5157 GB, free: 88.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.8843, allocations: 242.7 kB / 0.5159 GB, free: 88.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00281/0.8871, allocations: 0.6237 MB / 0.5165 GB, free: 88.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.8876, allocations: 0.8193 MB / 0.5173 GB, free: 87.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002397/0.8878, allocations: 36.94 kB / 0.5174 GB, free: 87.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002498/0.8881, allocations: 113.5 kB / 0.5175 GB, free: 87.61 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.8881, allocations: 0 / 0.5175 GB, free: 87.61 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05837/0.9465, allocations: 6.535 MB / 0.5239 GB, free: 87.2 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002282/0.9468, allocations: 181.3 kB / 0.524 GB, free: 87 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.705/3.652, allocations: 0 / 0.524 GB, free: 87 MB / 362.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