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.001554/0.001553, allocations: 183.6 kB / 15.8 MB, free: 6.316 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.011/2.011, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001158/0.001158, allocations: 82.88 kB / 270.3 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09654/0.09654, allocations: 12.59 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005435/0.0005436, allocations: 13.78 kB / 392.1 MB, free: 54.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09315/0.09375, allocations: 50.37 MB / 442.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1509/0.2447, allocations: 81.9 MB / 0.5121 GB, free: 8.832 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/0.2451, allocations: 75.95 kB / 0.5121 GB, free: 8.758 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0348/0.2799, allocations: 7.295 MB / 0.5193 GB, free: 1.445 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.28, allocations: 0 / 0.5193 GB, free: 1.445 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.175e-05/0.28, allocations: 12 kB / 0.5193 GB, free: 1.434 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.001523/0.2815, allocations: 0.6118 MB / 0.5199 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.2816, allocations: 8.031 kB / 0.5199 GB, free: 0.7656 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001208/0.2818, allocations: 70.47 kB / 0.52 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.2819, allocations: 44.22 kB / 0.52 GB, free: 0.6445 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009066/0.2828, allocations: 354.7 kB / 0.5203 GB, free: 260 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.721e-05/0.2829, allocations: 20.56 kB / 0.5204 GB, free: 240 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.472e-05/0.283, allocations: 31.92 kB / 0.5204 GB, free: 208 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2784/0.5614, allocations: 0.7237 MB / 0.5211 GB, free: 83.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.663e-05/0.5615, allocations: 1.781 kB / 0.5211 GB, free: 83.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.67e-05/0.5615, allocations: 10.69 kB / 0.5211 GB, free: 83.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.5615, allocations: 6.25 kB / 0.5211 GB, free: 83.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009817/0.5625, allocations: 230.6 kB / 0.5213 GB, free: 83.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.5637, allocations: 0.7677 MB / 0.5221 GB, free: 83.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.5654, allocations: 0.6183 MB / 0.5227 GB, free: 82.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007599/0.5662, allocations: 0.5871 MB / 0.5233 GB, free: 82.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.5663, allocations: 42.62 kB / 0.5233 GB, free: 82.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 4.048e-06/0.5663, allocations: 0.5625 kB / 0.5233 GB, free: 82.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.002162/0.5684, allocations: 0.6033 MB / 0.5239 GB, free: 82.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000163/0.5686, allocations: 185.4 kB / 0.5241 GB, free: 81.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003554/0.569, allocations: 220.3 kB / 0.5243 GB, free: 81.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.123e-05/0.5691, allocations: 37.73 kB / 0.5243 GB, free: 81.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.5692, allocations: 149.3 kB / 0.5244 GB, free: 81.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.439e-05/0.5693, allocations: 52.22 kB / 0.5245 GB, free: 81.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.5693, allocations: 12 kB / 0.5245 GB, free: 81.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.998e-05/0.5694, allocations: 349.4 kB / 0.5248 GB, free: 81.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003208/0.5697, allocations: 90.25 kB / 0.5249 GB, free: 81.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004825/0.5702, allocations: 421.9 kB / 0.5253 GB, free: 80.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004426/0.5707, allocations: 164.2 kB / 0.5255 GB, free: 80.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.869e-06/0.5707, allocations: 3.344 kB / 0.5255 GB, free: 80.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001337/0.5721, allocations: 0.4925 MB / 0.526 GB, free: 80.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/0.5721, allocations: 11.53 kB / 0.526 GB, free: 80.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/0.5722, allocations: 11.78 kB / 0.526 GB, free: 80.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.859e-05/0.5722, allocations: 16.47 kB / 0.526 GB, free: 80.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006551/0.5729, allocations: 128.3 kB / 0.5261 GB, free: 80.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.35e-05/0.5729, allocations: 21.08 kB / 0.5262 GB, free: 80.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004142/0.5734, allocations: 52.56 kB / 0.5262 GB, free: 80.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.015e-05/0.5734, allocations: 29.55 kB / 0.5262 GB, free: 80.64 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 () * Number of clocked states: 4 (PI.x,sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * 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.0003411/0.5738, allocations: 191 kB / 0.5264 GB, free: 80.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001102/0.5749, allocations: 340.2 kB / 0.5267 GB, free: 80.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.5761, allocations: 357.7 kB / 0.5271 GB, free: 80.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.5761, allocations: 5.797 kB / 0.5271 GB, free: 80.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.5762, allocations: 2.062 kB / 0.5271 GB, free: 80.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/0.5762, allocations: 5.109 kB / 0.5271 GB, free: 80.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006788/0.5769, allocations: 333.5 kB / 0.5274 GB, free: 80.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/0.5769, allocations: 2.547 kB / 0.5274 GB, free: 80.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007921/0.5777, allocations: 106.7 kB / 0.5275 GB, free: 80.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.275e-05/0.5777, allocations: 2.594 kB / 0.5275 GB, free: 80.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.204e-05/0.5778, allocations: 15.36 kB / 0.5275 GB, free: 80.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.286e-06/0.5778, allocations: 2.953 kB / 0.5275 GB, free: 80.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.5778, allocations: 5.312 kB / 0.5275 GB, free: 80.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/0.5801, allocations: 0.8103 MB / 0.5283 GB, free: 79.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.5803, allocations: 117.9 kB / 0.5284 GB, free: 79.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.184e-05/0.5804, allocations: 14.95 kB / 0.5285 GB, free: 79.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004219/0.5809, allocations: 34.25 kB / 0.5285 GB, free: 79.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.971e-05/0.5809, allocations: 13.22 kB / 0.5285 GB, free: 79.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.032e-05/0.581, allocations: 14.16 kB / 0.5285 GB, free: 79.74 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002667/0.5813, allocations: 174.9 kB / 0.5287 GB, free: 79.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.5813, allocations: 0 / 0.5287 GB, free: 79.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008095/0.5821, allocations: 80.61 kB / 0.5288 GB, free: 79.66 MB / 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 () * Number of clocked states: 4 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3],PI.x) * 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.002576/0.5847, allocations: 1.586 MB / 0.5303 GB, free: 78.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.586, allocations: 360.9 kB / 0.5307 GB, free: 78.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.5861, allocations: 0 / 0.5307 GB, free: 78.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.5863, allocations: 37.17 kB / 0.5307 GB, free: 78.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/0.5877, allocations: 296.6 kB / 0.531 GB, free: 78.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007319/0.5951, allocations: 10.02 MB / 0.5408 GB, free: 69.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/0.5956, allocations: 0.8197 MB / 0.5416 GB, free: 68.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002604/0.5959, allocations: 42.08 kB / 0.5416 GB, free: 68.67 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002541/0.5962, allocations: 113.3 kB / 0.5417 GB, free: 68.59 MB / 362.7 MB Notification: Performance of SimCode: time 1.303e-06/0.5962, allocations: 4 kB / 0.5417 GB, free: 68.59 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03939/0.6356, allocations: 7.06 MB / 0.5486 GB, free: 66.99 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002716/0.6359, allocations: 213.5 kB / 0.5488 GB, free: 66.75 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.763/3.399, allocations: 0 / 0.5488 GB, free: 66.75 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