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.0007539/0.0007539, allocations: 93.7 kB / 17.31 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.0008335/0.0008336, allocations: 175.9 kB / 18.21 MB, free: 5.684 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.275/1.275, allocations: 223.3 MB / 242.3 MB, free: 268 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002292/0.0002293, allocations: 16.61 kB / 302.1 MB, free: 6.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07376/0.074, allocations: 50.41 MB / 352.5 MB, free: 3.742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.002611/0.07664, allocations: 2.341 MB / 354.8 MB, free: 1.379 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.07806, allocations: 0.8843 MB / 355.7 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.07825, allocations: 11.94 kB / 355.7 MB, free: 492 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001602/0.07842, allocations: 47.52 kB / 355.8 MB, free: 444 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.07863, allocations: 47.64 kB / 355.8 MB, free: 396 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005549/0.07919, allocations: 214.9 kB / 356 MB, free: 184 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003527/0.07955, allocations: 355 kB / 356.4 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000276/0.07984, allocations: 176.7 kB / 356.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.07996, allocations: 91.45 kB / 356.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.08012, allocations: 115.2 kB / 356.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.312e-05/0.08016, allocations: 8 kB / 356.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.513e-05/0.08026, allocations: 47.91 kB / 356.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.76e-05/0.08035, allocations: 59.75 kB / 356.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.08048, allocations: 156.7 kB / 357 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.08075, allocations: 291.5 kB / 357.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.08076, allocations: 0 / 357.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.08077, allocations: 4 kB / 357.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.08078, allocations: 0 / 357.3 MB, free: 14.89 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.0008778/0.08167, allocations: 0.5885 MB / 357.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.08171, allocations: 8.031 kB / 357.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.116e-05/0.08178, allocations: 40.47 kB / 357.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.08214, allocations: 327.9 kB / 358.3 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.08218, allocations: 24.94 kB / 358.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.674e-05/0.08223, allocations: 28.38 kB / 358.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.08358, allocations: 0.7794 MB / 359.1 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.08361, allocations: 3.906 kB / 359.1 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.949e-05/0.08364, allocations: 12 kB / 359.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.08366, allocations: 4 kB / 359.1 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005927/0.08425, allocations: 247.7 kB / 359.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007477/0.08501, allocations: 0.7758 MB / 360.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.08609, allocations: 0.6545 MB / 360.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004778/0.08658, allocations: 283.8 kB / 361.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005716/0.08716, allocations: 0.5934 MB / 361.6 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.0872, allocations: 38.5 kB / 361.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 2.034e-06/0.08721, allocations: 4 kB / 361.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=52): time 0.001263/0.08848, allocations: 0.5678 MB / 362.3 MB, free: 9.508 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.08861, allocations: 212 kB / 362.5 MB, free: 9.258 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.08885, allocations: 250.6 kB / 362.7 MB, free: 9.004 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.08889, allocations: 37.7 kB / 362.7 MB, free: 8.961 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.295e-05/0.08899, allocations: 152.7 kB / 362.9 MB, free: 8.809 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.455e-05/0.08904, allocations: 51.53 kB / 362.9 MB, free: 8.758 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/0.0891, allocations: 45.69 kB / 363 MB, free: 8.707 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.08922, allocations: 346.8 kB / 363.3 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.08942, allocations: 89.08 kB / 363.4 MB, free: 8.273 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003852/0.08981, allocations: 443 kB / 363.8 MB, free: 7.672 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005962/0.09042, allocations: 0.5322 MB / 364.4 MB, free: 6.977 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.09043, allocations: 7.938 kB / 364.4 MB, free: 6.969 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007987/0.09124, allocations: 0.4976 MB / 364.9 MB, free: 6.465 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.09127, allocations: 12 kB / 364.9 MB, free: 6.453 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.09128, allocations: 12 kB / 364.9 MB, free: 6.441 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.09131, allocations: 19.98 kB / 364.9 MB, free: 6.422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/0.09164, allocations: 119.8 kB / 365 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-05/0.09167, allocations: 23.92 kB / 365.1 MB, free: 6.281 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002685/0.09195, allocations: 55.58 kB / 365.1 MB, free: 6.227 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.09198, allocations: 32.03 kB / 365.2 MB, free: 6.195 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.0001781/0.09217, allocations: 194 kB / 365.3 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006754/0.09285, allocations: 361 kB / 365.7 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007146/0.09358, allocations: 381.6 kB / 366.1 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.0936, allocations: 4 kB / 366.1 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.09361, allocations: 4 kB / 366.1 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.09362, allocations: 0 / 366.1 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003708/0.09399, allocations: 341 kB / 366.4 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.09401, allocations: 4 kB / 366.4 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004145/0.09443, allocations: 107.8 kB / 366.5 MB, free: 4.754 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.09445, allocations: 8 kB / 366.5 MB, free: 4.746 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.09448, allocations: 8 kB / 366.5 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.09449, allocations: 4 kB / 366.5 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.0945, allocations: 3.984 kB / 366.5 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.09581, allocations: 0.806 MB / 367.3 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.241e-05/0.0959, allocations: 128.5 kB / 367.5 MB, free: 3.762 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.07e-05/0.09596, allocations: 20.06 kB / 367.5 MB, free: 3.742 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/0.09624, allocations: 35.97 kB / 367.5 MB, free: 3.707 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.09628, allocations: 4 kB / 367.5 MB, free: 3.703 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/0.09631, allocations: 15.98 kB / 367.5 MB, free: 3.688 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001682/0.09649, allocations: 178 kB / 367.7 MB, free: 3.512 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.09649, allocations: 3.938 kB / 367.7 MB, free: 3.508 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005111/0.09701, allocations: 83.91 kB / 367.8 MB, free: 3.426 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.0001518/0.09717, allocations: 131.1 kB / 367.9 MB, free: 3.289 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007186/0.0979, allocations: 374.6 kB / 368.3 MB, free: 2.922 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.09791, allocations: 0 / 368.3 MB, free: 2.922 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.09803, allocations: 31.92 kB / 368.3 MB, free: 2.891 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.09908, allocations: 318.2 kB / 368.6 MB, free: 2.574 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.1005, allocations: 0.9551 MB / 369.6 MB, free: 1.578 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.1008, allocations: 0.8045 MB / 370.4 MB, free: 0.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.024e-05/0.1009, allocations: 39.42 kB / 370.4 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1009, allocations: 0 / 370.4 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of Templates: time 0.1327/0.2336, allocations: 4.397 MB / 374.8 MB, free: 23.45 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