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: translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001453/0.001453, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.438/1.438, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.00114, allocations: 47.03 kB / 301.3 MB, free: 5.875 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1137, allocations: 49.44 MB / 350.7 MB, free: 4.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.005512/0.1192, allocations: 2.677 MB / 353.4 MB, free: 1.719 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002191/0.1215, allocations: 0.9076 MB / 354.3 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004396/0.1219, allocations: 11.94 kB / 354.3 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.1223, allocations: 63.33 kB / 354.4 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004321/0.1228, allocations: 63.44 kB / 354.4 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009402/0.1237, allocations: 242.2 kB / 354.7 MB, free: 448 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005203/0.1243, allocations: 375 kB / 355 MB, free: 72 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003634/0.1246, allocations: 188.8 kB / 355.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002286/0.1249, allocations: 135.4 kB / 355.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.1251, allocations: 147.2 kB / 355.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.381e-05/0.1251, allocations: 32 kB / 355.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.1253, allocations: 71.95 kB / 355.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.1254, allocations: 87.62 kB / 355.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.1256, allocations: 159.1 kB / 355.8 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004646/0.126, allocations: 398.9 kB / 356.2 MB, free: 14.87 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1261, allocations: 4 kB / 356.2 MB, free: 14.87 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1261, allocations: 4 kB / 356.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.1261, allocations: 0 / 356.2 MB, free: 14.86 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.001149/0.1272, allocations: 0.6274 MB / 356.9 MB, free: 14.19 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.1273, allocations: 15.89 kB / 356.9 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.154e-05/0.1274, allocations: 40.47 kB / 356.9 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004637/0.1279, allocations: 335.8 kB / 357.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.1279, allocations: 20.94 kB / 357.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.568e-05/0.128, allocations: 24.38 kB / 357.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.1294, allocations: 0.7559 MB / 358.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.1295, allocations: 0 / 358.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.16e-05/0.1295, allocations: 8 kB / 358.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.1295, allocations: 8 kB / 358.1 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005838/0.1301, allocations: 223.7 kB / 358.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009857/0.1311, allocations: 0.7758 MB / 359.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.1323, allocations: 0.6229 MB / 359.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004782/0.1328, allocations: 268.3 kB / 359.9 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008318/0.1336, allocations: 0.5934 MB / 360.5 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.1337, allocations: 42.56 kB / 360.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 4.248e-06/0.1337, allocations: 112 / 360.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=52): time 0.001371/0.135, allocations: 0.5361 MB / 361.1 MB, free: 9.559 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001657/0.1352, allocations: 211.9 kB / 361.3 MB, free: 9.309 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/0.1356, allocations: 246.6 kB / 361.6 MB, free: 9.059 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.1356, allocations: 37.7 kB / 361.6 MB, free: 9.016 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.1357, allocations: 156.7 kB / 361.8 MB, free: 8.859 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.824e-05/0.1358, allocations: 43.59 kB / 361.8 MB, free: 8.816 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.1359, allocations: 86.25 kB / 361.9 MB, free: 8.727 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.1361, allocations: 350.8 kB / 362.2 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.1363, allocations: 81.06 kB / 362.3 MB, free: 8.297 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004826/0.1368, allocations: 427 kB / 362.7 MB, free: 7.711 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007299/0.1375, allocations: 0.5359 MB / 363.3 MB, free: 7.012 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/0.1376, allocations: 4 kB / 363.3 MB, free: 7.008 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008869/0.1385, allocations: 497.5 kB / 363.7 MB, free: 6.516 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.1385, allocations: 12 kB / 363.8 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.1385, allocations: 8 kB / 363.8 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.808e-05/0.1385, allocations: 16 kB / 363.8 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003503/0.1389, allocations: 127.8 kB / 363.9 MB, free: 6.355 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.37e-05/0.1389, allocations: 19.94 kB / 363.9 MB, free: 6.336 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/0.1392, allocations: 51.58 kB / 364 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.457e-05/0.1393, allocations: 32 kB / 364 MB, free: 6.254 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.0002405/0.1395, allocations: 189.7 kB / 364.2 MB, free: 6.059 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006931/0.1402, allocations: 346 kB / 364.5 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007531/0.141, allocations: 365.1 kB / 364.9 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.141, allocations: 4.469 kB / 364.9 MB, free: 5.344 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.141, allocations: 0 / 364.9 MB, free: 5.344 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.1411, allocations: 11.92 kB / 364.9 MB, free: 5.332 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005083/0.1416, allocations: 337 kB / 365.2 MB, free: 4.953 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.1416, allocations: 0 / 365.2 MB, free: 4.953 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004086/0.142, allocations: 107.9 kB / 365.3 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.063e-05/0.142, allocations: 3.984 kB / 365.3 MB, free: 4.844 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/0.1421, allocations: 12 kB / 365.4 MB, free: 4.832 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.1421, allocations: 8 kB / 365.4 MB, free: 4.824 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1421, allocations: 3.938 kB / 365.4 MB, free: 4.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.1436, allocations: 0.7708 MB / 366.1 MB, free: 4.031 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.1437, allocations: 120.5 kB / 366.3 MB, free: 3.895 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.312e-05/0.1438, allocations: 16 kB / 366.3 MB, free: 3.879 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/0.144, allocations: 23.98 kB / 366.3 MB, free: 3.855 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.677e-05/0.1441, allocations: 7.984 kB / 366.3 MB, free: 3.848 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.648e-05/0.1442, allocations: 12.06 kB / 366.3 MB, free: 3.836 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002247/0.1444, allocations: 190 kB / 366.5 MB, free: 3.648 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1444, allocations: 0 / 366.5 MB, free: 3.648 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005925/0.145, allocations: 72 kB / 366.6 MB, free: 3.578 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.0002218/0.1452, allocations: 127.1 kB / 366.7 MB, free: 3.445 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.1462, allocations: 385.5 kB / 367.1 MB, free: 3.066 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1463, allocations: 0 / 367.1 MB, free: 3.066 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.1464, allocations: 32.03 kB / 367.1 MB, free: 3.035 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.1475, allocations: 317.9 kB / 367.4 MB, free: 2.719 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.1493, allocations: 0.7838 MB / 368.2 MB, free: 1.895 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000454/0.1498, allocations: 0.812 MB / 369 MB, free: 1.059 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.901e-05/0.1499, allocations: 31.38 kB / 369 MB, free: 1.027 MB / 302.1 MB Notification: Performance of SimCode: time 6.92e-07/0.1499, allocations: 0 / 369 MB, free: 1.027 MB / 302.1 MB Notification: Performance of Templates: time 0.2158/0.3656, allocations: 4.446 MB / 373.5 MB, free: 24.12 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile (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 & ./Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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