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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009128/0.0009128, allocations: 90.17 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 175.2 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 223.3 MB / 241.6 MB, free: 14.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002912/0.0002912, allocations: 9.188 kB / 301.5 MB, free: 5.797 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1138, allocations: 50.41 MB / 351.9 MB, free: 3.379 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.003549/0.1174, allocations: 2.341 MB / 354.3 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.1195, allocations: 0.8805 MB / 355.2 MB, free: 136 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004494/0.1199, allocations: 7.938 kB / 355.2 MB, free: 128 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003072/0.1203, allocations: 47.52 kB / 355.2 MB, free: 80 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004585/0.1208, allocations: 51.64 kB / 355.3 MB, free: 28 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009707/0.1217, allocations: 212.7 kB / 355.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005987/0.1223, allocations: 350.9 kB / 355.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004486/0.1228, allocations: 172.8 kB / 356 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.1231, allocations: 99.45 kB / 356.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/0.1233, allocations: 115.2 kB / 356.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.521e-05/0.1234, allocations: 8 kB / 356.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.1235, allocations: 51.89 kB / 356.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.1237, allocations: 47.77 kB / 356.3 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.1238, allocations: 160.7 kB / 356.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004478/0.1243, allocations: 370.8 kB / 356.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1243, allocations: 0 / 356.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.1243, allocations: 0 / 356.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.1243, allocations: 0 / 356.8 MB, free: 14.46 MB / 302.1 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.001226/0.1256, allocations: 0.5885 MB / 357.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.1256, allocations: 12.03 kB / 357.4 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001277/0.1258, allocations: 70.72 kB / 357.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.1259, allocations: 40.47 kB / 357.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004839/0.1264, allocations: 323.8 kB / 357.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/0.1264, allocations: 24.94 kB / 357.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.061e-05/0.1265, allocations: 28.12 kB / 357.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.1281, allocations: 0.7756 MB / 358.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.1281, allocations: 4 kB / 358.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.774e-05/0.1282, allocations: 8 kB / 358.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.1282, allocations: 8 kB / 358.7 MB, free: 12.47 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006528/0.1288, allocations: 247.8 kB / 358.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009911/0.1298, allocations: 0.7758 MB / 359.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/0.1311, allocations: 0.6583 MB / 360.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005097/0.1316, allocations: 287.7 kB / 360.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000691/0.1323, allocations: 0.5856 MB / 361.2 MB, free: 9.629 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/0.1323, allocations: 42.56 kB / 361.3 MB, free: 9.578 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 2.205e-06/0.1323, allocations: 0 / 361.3 MB, free: 9.578 MB / 302.1 MB Notification: Performance of matching and sorting (n=52): time 0.001354/0.1337, allocations: 0.5718 MB / 361.8 MB, free: 9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/0.1339, allocations: 212 kB / 362 MB, free: 8.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/0.1342, allocations: 254.6 kB / 362.3 MB, free: 8.492 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.436e-05/0.1342, allocations: 33.7 kB / 362.3 MB, free: 8.453 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.1343, allocations: 156.7 kB / 362.5 MB, free: 8.297 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.398e-05/0.1344, allocations: 51.58 kB / 362.5 MB, free: 8.246 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-05/0.1345, allocations: 45.69 kB / 362.6 MB, free: 8.195 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1346, allocations: 346.8 kB / 362.9 MB, free: 7.848 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/0.1349, allocations: 89.06 kB / 363 MB, free: 7.762 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004283/0.1353, allocations: 439 kB / 363.4 MB, free: 7.164 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007234/0.136, allocations: 0.5359 MB / 364 MB, free: 6.465 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.136, allocations: 7.938 kB / 364 MB, free: 6.457 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009058/0.137, allocations: 0.4971 MB / 364.5 MB, free: 5.953 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.137, allocations: 8 kB / 364.5 MB, free: 5.945 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.137, allocations: 12 kB / 364.5 MB, free: 5.934 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.121e-05/0.1371, allocations: 16 kB / 364.5 MB, free: 5.918 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.1374, allocations: 124.4 kB / 364.6 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-05/0.1374, allocations: 23.92 kB / 364.7 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/0.1377, allocations: 59.58 kB / 364.7 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/0.1378, allocations: 28 kB / 364.7 MB, free: 5.688 MB / 302.1 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 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002282/0.138, allocations: 193.5 kB / 364.9 MB, free: 5.488 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000689/0.1387, allocations: 353.1 kB / 365.3 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007799/0.1395, allocations: 377.6 kB / 365.6 MB, free: 4.758 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.1395, allocations: 12.41 kB / 365.7 MB, free: 4.746 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.1395, allocations: 4 kB / 365.7 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.1395, allocations: 7.984 kB / 365.7 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000431/0.14, allocations: 337 kB / 366 MB, free: 4.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.14, allocations: 4 kB / 366 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004103/0.1404, allocations: 111.8 kB / 366.1 MB, free: 4.242 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/0.1404, allocations: 4 kB / 366.1 MB, free: 4.238 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.55e-05/0.1405, allocations: 15.97 kB / 366.1 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1405, allocations: 0 / 366.1 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/0.1405, allocations: 4 kB / 366.1 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.1419, allocations: 0.8176 MB / 366.9 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.142, allocations: 116.6 kB / 367.1 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.645e-05/0.1421, allocations: 12 kB / 367.1 MB, free: 3.238 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.1424, allocations: 35.97 kB / 367.1 MB, free: 3.203 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.15e-05/0.1424, allocations: 15.98 kB / 367.1 MB, free: 3.188 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.856e-05/0.1425, allocations: 16 kB / 367.1 MB, free: 3.172 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002032/0.1427, allocations: 178 kB / 367.3 MB, free: 2.996 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1427, allocations: 0 / 367.3 MB, free: 2.996 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005911/0.1433, allocations: 79.91 kB / 367.4 MB, free: 2.918 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001851/0.1452, allocations: 1.39 MB / 368.8 MB, free: 1.496 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008218/0.146, allocations: 382.7 kB / 369.2 MB, free: 1.125 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.146, allocations: 0 / 369.2 MB, free: 1.125 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.1461, allocations: 27.98 kB / 369.2 MB, free: 1.098 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.1473, allocations: 321.4 kB / 369.5 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2385/0.3858, allocations: 4.011 MB / 373.5 MB, free: 22.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.3862, allocations: 0.8125 MB / 374.3 MB, free: 21.63 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001781/0.3864, allocations: 39.73 kB / 374.4 MB, free: 21.63 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.3866, allocations: 112.4 kB / 374.5 MB, free: 21.62 MB / 302.1 MB Notification: Performance of SimCode: time 1.383e-06/0.3866, allocations: 0 / 374.5 MB, free: 21.62 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02528/0.4119, allocations: 7.4 MB / 381.9 MB, free: 20.35 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/0.4121, allocations: 230.1 kB / 382.1 MB, free: 20.1 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.392/2.804, allocations: 0 / 382.1 MB, free: 20.1 MB / 302.1 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/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) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWith_AD_DA_Effects/ClockedWith_AD_DA_Effects.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches