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.001181/0.001181, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 221.5 MB / 230.3 MB, free: 7.512 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009349/0.0009349, allocations: 90.23 kB / 281.2 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.724e-05/1.726e-05, allocations: 0 / 337.1 MB, free: 9.934 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1012, allocations: 50.42 MB / 387.5 MB, free: 7.469 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3323/0.4336, allocations: 80.08 MB / 467.6 MB, free: 14.7 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/0.4338, allocations: 75.95 kB / 467.7 MB, free: 14.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02048/0.4543, allocations: 7.429 MB / 475.1 MB, free: 7.199 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4543, allocations: 0 / 475.1 MB, free: 7.199 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.818e-05/0.4544, allocations: 12 kB / 475.1 MB, free: 7.188 MB / 346.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.0008265/0.4552, allocations: 0.573 MB / 475.7 MB, free: 6.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.4553, allocations: 8.031 kB / 475.7 MB, free: 6.562 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.061e-05/0.4553, allocations: 39.53 kB / 475.8 MB, free: 6.523 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005875/0.4559, allocations: 346.7 kB / 476.1 MB, free: 6.141 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.456, allocations: 12 kB / 476.1 MB, free: 6.129 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.566e-05/0.456, allocations: 24.69 kB / 476.1 MB, free: 6.105 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002853/0.4563, allocations: 145.3 kB / 476.3 MB, free: 5.965 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009315/0.4573, allocations: 0.6107 MB / 476.9 MB, free: 5.316 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.4573, allocations: 4 kB / 476.9 MB, free: 5.312 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.4573, allocations: 4 kB / 476.9 MB, free: 5.309 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.4573, allocations: 11.98 kB / 476.9 MB, free: 5.297 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007695/0.4581, allocations: 0.7101 MB / 477.6 MB, free: 4.523 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007783/0.4589, allocations: 0.5189 MB / 478.1 MB, free: 3.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/0.4592, allocations: 211.8 kB / 478.3 MB, free: 3.711 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007368/0.46, allocations: 0.5932 MB / 478.9 MB, free: 2.988 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.46, allocations: 42.55 kB / 479 MB, free: 2.938 MB / 346.7 MB Notification: Performance of pre-optimization done (n=52): time 2.364e-06/0.46, allocations: 4 kB / 479 MB, free: 2.934 MB / 346.7 MB Notification: Performance of matching and sorting (n=52): time 0.0006883/0.4607, allocations: 293.5 kB / 479.3 MB, free: 2.641 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/0.4609, allocations: 174.2 kB / 479.4 MB, free: 2.434 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.4611, allocations: 202.3 kB / 479.6 MB, free: 2.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.4612, allocations: 37.64 kB / 479.7 MB, free: 2.188 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.4613, allocations: 153 kB / 479.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.54e-05/0.4614, allocations: 43.62 kB / 479.9 MB, free: 1.992 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/0.4614, allocations: 0 / 479.9 MB, free: 1.992 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.4616, allocations: 350.7 kB / 480.2 MB, free: 1.641 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.4617, allocations: 61.11 kB / 480.3 MB, free: 1.582 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.462, allocations: 392.6 kB / 480.7 MB, free: 1.027 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.4622, allocations: 131.8 kB / 480.8 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.4622, allocations: 4 kB / 480.8 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0005619/0.4628, allocations: 393.4 kB / 481.2 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.4629, allocations: 13.09 kB / 481.2 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.4629, allocations: 12 kB / 481.2 MB, free: 492 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.261e-05/0.4629, allocations: 16 kB / 481.2 MB, free: 476 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003481/0.4633, allocations: 119.8 kB / 481.3 MB, free: 356 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.016e-05/0.4633, allocations: 28.3 kB / 481.4 MB, free: 328 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.4636, allocations: 51.58 kB / 481.4 MB, free: 276 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.4636, allocations: 28 kB / 481.4 MB, free: 248 kB / 346.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.000164/0.4638, allocations: 139.5 kB / 481.6 MB, free: 104 kB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006167/0.4644, allocations: 304.8 kB / 481.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.86e-05/0.4645, allocations: 31.62 kB / 481.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005601/0.4651, allocations: 284.9 kB / 482.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/0.4651, allocations: 11.95 kB / 482.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.4651, allocations: 3.938 kB / 482.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.4651, allocations: 3.984 kB / 482.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003609/0.4655, allocations: 277.7 kB / 482.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.4655, allocations: 7.984 kB / 482.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/0.4659, allocations: 107.8 kB / 482.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.4659, allocations: 0 / 482.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.466, allocations: 8 kB / 482.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.466, allocations: 4 kB / 482.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.466, allocations: 0 / 482.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008228/0.4668, allocations: 0.6707 MB / 483.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.139e-05/0.4669, allocations: 124.5 kB / 483.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.058e-05/0.467, allocations: 7.984 kB / 483.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.4672, allocations: 19.92 kB / 483.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.4672, allocations: 4 kB / 483.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.259e-05/0.4673, allocations: 15.98 kB / 483.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001507/0.4674, allocations: 166.1 kB / 483.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4674, allocations: 0 / 483.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005166/0.468, allocations: 60 kB / 483.7 MB, free: 13.91 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 () * 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.001179/0.4691, allocations: 1.447 MB / 485.1 MB, free: 12.42 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004282/0.4696, allocations: 265.8 kB / 485.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.4696, allocations: 4.188 kB / 485.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.896e-05/0.4696, allocations: 19.94 kB / 485.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007539/0.4704, allocations: 254.2 kB / 485.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.472, allocations: 0.6316 MB / 486.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.4724, allocations: 0.816 MB / 487.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.4725, allocations: 39.27 kB / 487.1 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.4727, allocations: 111.4 kB / 487.2 MB, free: 10.22 MB / 362.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4727, allocations: 0 / 487.2 MB, free: 10.22 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0316/0.5043, allocations: 6.53 MB / 493.8 MB, free: 3.727 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/0.5046, allocations: 173.9 kB / 493.9 MB, free: 3.531 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.083/2.588, allocations: 0 / 493.9 MB, free: 3.531 MB / 362.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