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.0008082/0.0008083, allocations: 95.52 kB / 16.65 MB, free: 6.602 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.0008777/0.0008777, allocations: 174.5 kB / 17.56 MB, free: 6.203 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.486/1.486, allocations: 223.3 MB / 241.6 MB, free: 14.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003011/0.0003013, allocations: 7.938 kB / 301.4 MB, free: 5.902 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.112, allocations: 50.42 MB / 351.8 MB, free: 3.477 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.00335/0.1154, allocations: 2.337 MB / 354.2 MB, free: 1.117 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.1173, allocations: 0.8805 MB / 355 MB, free: 240 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001975/0.1175, allocations: 11.94 kB / 355.1 MB, free: 228 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002009/0.1177, allocations: 39.59 kB / 355.1 MB, free: 188 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002197/0.118, allocations: 51.64 kB / 355.1 MB, free: 136 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006558/0.1186, allocations: 224.4 kB / 355.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003562/0.119, allocations: 354.8 kB / 355.7 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002941/0.1193, allocations: 168.8 kB / 355.9 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.1194, allocations: 95.44 kB / 356 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.1196, allocations: 115.2 kB / 356.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.856e-05/0.1196, allocations: 8 kB / 356.1 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.1197, allocations: 51.88 kB / 356.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.8e-05/0.1198, allocations: 47.78 kB / 356.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.12, allocations: 164.7 kB / 356.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003606/0.1204, allocations: 370.8 kB / 356.7 MB, free: 14.56 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1204, allocations: 0 / 356.7 MB, free: 14.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1204, allocations: 0 / 356.7 MB, free: 14.56 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1204, allocations: 0 / 356.7 MB, free: 14.56 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.001/0.1214, allocations: 0.5925 MB / 357.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.1215, allocations: 8.031 kB / 357.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.088e-05/0.1215, allocations: 40.47 kB / 357.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004004/0.122, allocations: 323.9 kB / 357.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.122, allocations: 20.94 kB / 357.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.762e-05/0.122, allocations: 24.38 kB / 357.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.1234, allocations: 0.7834 MB / 358.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.1234, allocations: 7.906 kB / 358.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.696e-05/0.1235, allocations: 12 kB / 358.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.1235, allocations: 7.984 kB / 358.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005825/0.1241, allocations: 247.8 kB / 358.8 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008286/0.1249, allocations: 0.7681 MB / 359.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.1261, allocations: 0.6584 MB / 360.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004727/0.1265, allocations: 279.7 kB / 360.5 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006134/0.1272, allocations: 0.5895 MB / 361.1 MB, free: 9.809 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.1272, allocations: 42.55 kB / 361.1 MB, free: 9.758 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 1.913e-06/0.1272, allocations: 0 / 361.1 MB, free: 9.758 MB / 302.1 MB Notification: Performance of matching and sorting (n=52): time 0.001259/0.1285, allocations: 0.576 MB / 361.7 MB, free: 9.176 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.1286, allocations: 208 kB / 361.9 MB, free: 8.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.1289, allocations: 258.7 kB / 362.1 MB, free: 8.668 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.1289, allocations: 33.7 kB / 362.2 MB, free: 8.629 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.1291, allocations: 160.7 kB / 362.3 MB, free: 8.469 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.278e-05/0.1291, allocations: 47.58 kB / 362.4 MB, free: 8.422 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/0.1292, allocations: 41.7 kB / 362.4 MB, free: 8.375 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1293, allocations: 346.8 kB / 362.7 MB, free: 8.027 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.1295, allocations: 93.06 kB / 362.8 MB, free: 7.938 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004047/0.1299, allocations: 438.9 kB / 363.3 MB, free: 7.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005884/0.1305, allocations: 0.5359 MB / 363.8 MB, free: 6.641 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.1305, allocations: 4 kB / 363.8 MB, free: 6.637 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007661/0.1313, allocations: 0.5005 MB / 364.3 MB, free: 6.129 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.1313, allocations: 13 kB / 364.3 MB, free: 6.117 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.1314, allocations: 12 kB / 364.3 MB, free: 6.105 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.1314, allocations: 16 kB / 364.3 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003183/0.1317, allocations: 131.8 kB / 364.5 MB, free: 5.961 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.698e-05/0.1318, allocations: 19.94 kB / 364.5 MB, free: 5.941 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/0.132, allocations: 55.58 kB / 364.5 MB, free: 5.887 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.1321, allocations: 28 kB / 364.6 MB, free: 5.859 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.0002005/0.1323, allocations: 193.5 kB / 364.8 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000644/0.1329, allocations: 353 kB / 365.1 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007178/0.1336, allocations: 377.6 kB / 365.5 MB, free: 4.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.1337, allocations: 4 kB / 365.5 MB, free: 4.926 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.1337, allocations: 11.94 kB / 365.5 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.1337, allocations: 3.984 kB / 365.5 MB, free: 4.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003776/0.1341, allocations: 337 kB / 365.8 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.1341, allocations: 8 kB / 365.8 MB, free: 4.523 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003769/0.1345, allocations: 103.9 kB / 365.9 MB, free: 4.422 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.1345, allocations: 4 kB / 365.9 MB, free: 4.418 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.1345, allocations: 15.94 kB / 366 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.1345, allocations: 4 kB / 366 MB, free: 4.398 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1345, allocations: 4 kB / 366 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.1359, allocations: 0.8099 MB / 366.8 MB, free: 3.566 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-05/0.136, allocations: 116.6 kB / 366.9 MB, free: 3.434 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.427e-05/0.136, allocations: 19.98 kB / 366.9 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.1363, allocations: 35.98 kB / 366.9 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.1363, allocations: 7.922 kB / 366.9 MB, free: 3.371 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.1364, allocations: 16.09 kB / 367 MB, free: 3.355 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001744/0.1366, allocations: 186 kB / 367.1 MB, free: 3.172 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1366, allocations: 0 / 367.1 MB, free: 3.172 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005097/0.1371, allocations: 71.91 kB / 367.2 MB, free: 3.102 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.0001867/0.1373, allocations: 135.1 kB / 367.3 MB, free: 2.961 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007342/0.138, allocations: 374.6 kB / 367.7 MB, free: 2.594 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.138, allocations: 0 / 367.7 MB, free: 2.594 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.1381, allocations: 39.97 kB / 367.8 MB, free: 2.555 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.1392, allocations: 313.8 kB / 368.1 MB, free: 2.242 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.1408, allocations: 0.9186 MB / 369 MB, free: 1.289 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.1412, allocations: 0.8201 MB / 369.8 MB, free: 456 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001227/0.1413, allocations: 39.27 kB / 369.8 MB, free: 416 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.425e-05/0.1414, allocations: 31.44 kB / 369.9 MB, free: 384 kB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1414, allocations: 0 / 369.9 MB, free: 384 kB / 302.1 MB Notification: Performance of Templates: time 0.2426/0.384, allocations: 4.223 MB / 374.1 MB, free: 23.84 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/jenkins/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/jenkins/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