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.001138/0.001138, allocations: 103.9 kB / 16.62 MB, free: 6.805 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.001122/0.001122, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.382/1.382, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 47.11 kB / 300.2 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1011, allocations: 49.45 MB / 349.7 MB, free: 4.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004797/0.106, allocations: 2.715 MB / 352.4 MB, free: 1.922 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002118/0.1081, allocations: 0.8804 MB / 353.3 MB, free: 1.039 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003832/0.1085, allocations: 15.88 kB / 353.3 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.1088, allocations: 47.58 kB / 353.3 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003241/0.1092, allocations: 47.69 kB / 353.4 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008643/0.1101, allocations: 214.2 kB / 353.6 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005123/0.1106, allocations: 382.9 kB / 354 MB, free: 356 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003735/0.111, allocations: 184.8 kB / 354.1 MB, free: 168 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.1112, allocations: 135.4 kB / 354.3 MB, free: 32 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.1114, allocations: 147.4 kB / 354.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.704e-05/0.1115, allocations: 28 kB / 354.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.1116, allocations: 79.83 kB / 354.5 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.1117, allocations: 79.75 kB / 354.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.1119, allocations: 171 kB / 354.8 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000477/0.1124, allocations: 390.8 kB / 355.2 MB, free: 15.15 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1124, allocations: 4 kB / 355.2 MB, free: 15.15 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1124, allocations: 3.938 kB / 355.2 MB, free: 15.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.1124, allocations: 0 / 355.2 MB, free: 15.14 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.00122/0.1137, allocations: 0.6391 MB / 355.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/0.1137, allocations: 8.031 kB / 355.8 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.841e-05/0.1138, allocations: 66.72 kB / 355.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.873e-05/0.1139, allocations: 40.47 kB / 355.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004872/0.1144, allocations: 331.8 kB / 356.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.1145, allocations: 20.94 kB / 356.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.377e-05/0.1145, allocations: 32.12 kB / 356.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.116, allocations: 0.7481 MB / 357 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.116, allocations: 4 kB / 357 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.317e-05/0.1161, allocations: 15.98 kB / 357.1 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.22e-05/0.1161, allocations: 8 kB / 357.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007259/0.1168, allocations: 219.8 kB / 357.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.118, allocations: 0.7681 MB / 358 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.1191, allocations: 0.6219 MB / 358.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004705/0.1196, allocations: 267.7 kB / 358.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007101/0.1203, allocations: 0.5934 MB / 359.5 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/0.1203, allocations: 46.61 kB / 359.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 2.204e-06/0.1203, allocations: 0 / 359.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=52): time 0.001252/0.1216, allocations: 0.5319 MB / 360.1 MB, free: 9.773 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001438/0.1218, allocations: 203.9 kB / 360.3 MB, free: 9.531 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.122, allocations: 250.6 kB / 360.5 MB, free: 9.277 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/0.1221, allocations: 33.7 kB / 360.6 MB, free: 9.238 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.1222, allocations: 160.8 kB / 360.7 MB, free: 9.078 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.991e-05/0.1223, allocations: 43.59 kB / 360.8 MB, free: 9.035 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.1224, allocations: 86.25 kB / 360.9 MB, free: 8.945 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1225, allocations: 346.8 kB / 361.2 MB, free: 8.598 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.1227, allocations: 81.06 kB / 361.3 MB, free: 8.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006164/0.1233, allocations: 434.9 kB / 361.7 MB, free: 7.926 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006486/0.124, allocations: 0.5285 MB / 362.2 MB, free: 7.234 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/0.124, allocations: 4 kB / 362.2 MB, free: 7.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008937/0.1249, allocations: 0.4969 MB / 362.7 MB, free: 6.727 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.1249, allocations: 12 kB / 362.7 MB, free: 6.715 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.125, allocations: 8 kB / 362.8 MB, free: 6.707 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/0.125, allocations: 16.72 kB / 362.8 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003323/0.1253, allocations: 119.8 kB / 362.9 MB, free: 6.574 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.708e-05/0.1254, allocations: 31.92 kB / 362.9 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002842/0.1257, allocations: 47.67 kB / 363 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/0.1257, allocations: 39.88 kB / 363 MB, free: 6.457 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.0002349/0.126, allocations: 185.5 kB / 363.2 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006572/0.1266, allocations: 338.1 kB / 363.5 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007743/0.1274, allocations: 372.5 kB / 363.9 MB, free: 5.555 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.507e-06/0.1274, allocations: 4 kB / 363.9 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.1274, allocations: 0 / 363.9 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.1275, allocations: 7.984 kB / 363.9 MB, free: 5.543 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000493/0.128, allocations: 337 kB / 364.2 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.128, allocations: 0 / 364.2 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004087/0.1284, allocations: 107.9 kB / 364.3 MB, free: 5.059 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.104e-06/0.1284, allocations: 0 / 364.3 MB, free: 5.059 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.938e-05/0.1285, allocations: 11.98 kB / 364.3 MB, free: 5.047 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-05/0.1285, allocations: 7.938 kB / 364.3 MB, free: 5.039 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1285, allocations: 0 / 364.3 MB, free: 5.039 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.1299, allocations: 0.767 MB / 365.1 MB, free: 4.254 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.13, allocations: 120.5 kB / 365.2 MB, free: 4.117 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.717e-05/0.1301, allocations: 19.98 kB / 365.2 MB, free: 4.098 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.1304, allocations: 24.05 kB / 365.3 MB, free: 4.074 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.1304, allocations: 11.98 kB / 365.3 MB, free: 4.062 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/0.1305, allocations: 8 kB / 365.3 MB, free: 4.055 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002215/0.1307, allocations: 185.9 kB / 365.5 MB, free: 3.871 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1307, allocations: 0 / 365.5 MB, free: 3.871 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006032/0.1313, allocations: 79.98 kB / 365.6 MB, free: 3.793 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.001774/0.1331, allocations: 1.351 MB / 366.9 MB, free: 2.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008825/0.134, allocations: 384 kB / 367.3 MB, free: 2.035 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.134, allocations: 0 / 367.3 MB, free: 2.035 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.1341, allocations: 33.53 kB / 367.3 MB, free: 2.004 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.1353, allocations: 314.3 kB / 367.6 MB, free: 1.695 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.182/0.3173, allocations: 3.937 MB / 371.6 MB, free: 23.92 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.3176, allocations: 0.8096 MB / 372.4 MB, free: 23.22 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001734/0.3178, allocations: 42.05 kB / 372.4 MB, free: 23.22 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.318, allocations: 110.4 kB / 372.5 MB, free: 23.21 MB / 302.1 MB Notification: Performance of SimCode: time 1.243e-06/0.318, allocations: 1.031 kB / 372.5 MB, free: 23.21 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0229/0.3409, allocations: 7.783 MB / 380.3 MB, free: 21.8 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002929/0.3413, allocations: 231.4 kB / 380.5 MB, free: 21.54 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.1/2.442, allocations: 0 / 380.5 MB, free: 21.54 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