Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_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 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 179.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.2 MB / 240.3 MB, free: 10.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009429/0.0009429, allocations: 98.38 kB / 291.5 MB, free: 10.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.0003464, allocations: 4 kB / 351.2 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3123, allocations: 50.41 MB / 401.6 MB, free: 32.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1368/0.4492, allocations: 80.83 MB / 482.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/0.4496, allocations: 83.94 kB / 482.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03245/0.4821, allocations: 7.487 MB / 490 MB, free: 8.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.4821, allocations: 4.219 kB / 490 MB, free: 8.016 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.262e-05/0.4822, allocations: 11.94 kB / 490 MB, free: 8.004 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.00131/0.4835, allocations: 0.6077 MB / 490.6 MB, free: 7.348 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.4836, allocations: 8.031 kB / 490.6 MB, free: 7.34 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001102/0.4837, allocations: 70.53 kB / 490.7 MB, free: 7.262 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.4838, allocations: 35.53 kB / 490.7 MB, free: 7.227 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008444/0.4847, allocations: 354.7 kB / 491 MB, free: 6.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.734e-05/0.4847, allocations: 21.25 kB / 491.1 MB, free: 6.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.699e-05/0.4848, allocations: 35.91 kB / 491.1 MB, free: 6.785 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/0.4869, allocations: 0.7373 MB / 491.8 MB, free: 6.012 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.4869, allocations: 0 / 491.8 MB, free: 6.012 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.628e-05/0.4869, allocations: 12 kB / 491.9 MB, free: 6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.487, allocations: 8 kB / 491.9 MB, free: 5.992 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008948/0.4879, allocations: 231.7 kB / 492.1 MB, free: 5.766 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.4891, allocations: 0.7758 MB / 492.9 MB, free: 4.914 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.4907, allocations: 0.6113 MB / 493.5 MB, free: 4.227 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007916/0.4915, allocations: 0.5779 MB / 494.1 MB, free: 3.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.4916, allocations: 38.56 kB / 494.1 MB, free: 3.473 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 2.766e-06/0.4916, allocations: 4 kB / 494.1 MB, free: 3.469 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.001952/0.4936, allocations: 0.6052 MB / 494.7 MB, free: 2.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/0.4937, allocations: 190 kB / 494.9 MB, free: 2.617 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000342/0.4941, allocations: 221.7 kB / 495.1 MB, free: 2.395 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.186e-05/0.4941, allocations: 33.83 kB / 495.1 MB, free: 2.355 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.4943, allocations: 148.9 kB / 495.3 MB, free: 2.207 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.453e-05/0.4944, allocations: 47.53 kB / 495.3 MB, free: 2.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/0.4944, allocations: 12 kB / 495.3 MB, free: 2.148 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.4946, allocations: 346.7 kB / 495.7 MB, free: 1.801 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003052/0.4949, allocations: 93.06 kB / 495.8 MB, free: 1.711 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006531/0.4956, allocations: 425.6 kB / 496.2 MB, free: 1.129 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004396/0.496, allocations: 164.2 kB / 496.3 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/0.496, allocations: 4 kB / 496.3 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001282/0.4973, allocations: 0.4931 MB / 496.8 MB, free: 476 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.4974, allocations: 8 kB / 496.8 MB, free: 468 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.4974, allocations: 12 kB / 496.9 MB, free: 456 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.34e-05/0.4975, allocations: 23.95 kB / 496.9 MB, free: 432 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005402/0.498, allocations: 124.4 kB / 497 MB, free: 308 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.802e-05/0.4981, allocations: 27.92 kB / 497 MB, free: 280 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004448/0.4985, allocations: 51.73 kB / 497.1 MB, free: 228 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.088e-05/0.4986, allocations: 28 kB / 497.1 MB, free: 200 kB / 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.0002926/0.4989, allocations: 193 kB / 497.3 MB, free: 0 / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/0.4999, allocations: 333.1 kB / 497.6 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/0.5011, allocations: 356.5 kB / 498 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.5011, allocations: 8 kB / 498 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.5011, allocations: 3.953 kB / 498 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.5011, allocations: 3.984 kB / 498 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006281/0.5018, allocations: 333.1 kB / 498.3 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.5018, allocations: 0 / 498.3 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006497/0.5025, allocations: 107.8 kB / 498.4 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.776e-06/0.5025, allocations: 4 kB / 498.4 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.724e-05/0.5025, allocations: 11.98 kB / 498.4 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.453e-06/0.5025, allocations: 4 kB / 498.4 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.5026, allocations: 0 / 498.4 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/0.5046, allocations: 0.8111 MB / 499.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.5048, allocations: 124.5 kB / 499.4 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.766e-05/0.5048, allocations: 16 kB / 499.4 MB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000433/0.5053, allocations: 32.03 kB / 499.4 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.5054, allocations: 4 kB / 499.4 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.673e-05/0.5054, allocations: 12 kB / 499.4 MB, free: 13.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002529/0.5057, allocations: 181.9 kB / 499.6 MB, free: 13.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5057, allocations: 0 / 499.6 MB, free: 13.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009555/0.5066, allocations: 80 kB / 499.7 MB, free: 13.48 MB / 378.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.002664/0.5093, allocations: 1.599 MB / 0.4895 GB, free: 11.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.5104, allocations: 365.6 kB / 0.4899 GB, free: 11.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5105, allocations: 0 / 0.4899 GB, free: 11.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.5106, allocations: 36.03 kB / 0.4899 GB, free: 11.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.512, allocations: 289.7 kB / 0.4902 GB, free: 11.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009039/0.521, allocations: 10.02 MB / 0.5 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005671/0.5216, allocations: 0.8162 MB / 0.5008 GB, free: 0 / 378.7 MB Notification: Performance of simCode: alias equations: time 0.2241/0.7457, allocations: 35.11 kB / 0.5008 GB, free: 101.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/0.746, allocations: 108.9 kB / 0.5009 GB, free: 101.8 MB / 378.7 MB Notification: Performance of SimCode: time 1.372e-06/0.746, allocations: 0 / 0.5009 GB, free: 101.8 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02016/0.7662, allocations: 7.055 MB / 0.5078 GB, free: 101.3 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001538/0.7664, allocations: 207.6 kB / 0.508 GB, free: 101 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.134/2.9, allocations: 3.438 kB / 0.508 GB, free: 101 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat does not exist to compare? outputFormat=mat