Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001435/0.001435, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001183/0.001183, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 59.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3002, allocations: 50.54 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004187/0.3044, allocations: 2.688 MB / 412.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.306, allocations: 0.9388 MB / 413.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001812/0.3062, allocations: 11.94 kB / 413.5 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.3065, allocations: 63.27 kB / 413.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000232/0.3067, allocations: 63.5 kB / 413.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006727/0.3074, allocations: 243 kB / 413.9 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004017/0.3078, allocations: 378.9 kB / 414.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003364/0.3081, allocations: 188.8 kB / 414.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.3083, allocations: 147.3 kB / 414.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.3085, allocations: 151.2 kB / 414.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.465e-05/0.3086, allocations: 32 kB / 414.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.3087, allocations: 63.97 kB / 414.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.3088, allocations: 79.69 kB / 414.9 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.309, allocations: 163.1 kB / 415.1 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00047/0.3095, allocations: 418.3 kB / 415.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3095, allocations: 4 kB / 415.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3095, allocations: 3.938 kB / 415.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.056e-06/0.3095, allocations: 0 / 415.5 MB, free: 11.98 MB / 334.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.001091/0.3106, allocations: 0.6403 MB / 416.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.3106, allocations: 12.03 kB / 416.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.648e-05/0.3107, allocations: 40.47 kB / 416.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/0.3112, allocations: 331.9 kB / 416.5 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.3113, allocations: 28.88 kB / 416.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.274e-05/0.3113, allocations: 24.38 kB / 416.6 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.3127, allocations: 0.7365 MB / 417.3 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.3127, allocations: 4 kB / 417.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4e-05/0.3127, allocations: 12 kB / 417.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.3128, allocations: 11.98 kB / 417.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005624/0.3133, allocations: 226.8 kB / 417.6 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008502/0.3142, allocations: 0.7644 MB / 418.3 MB, free: 8.973 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.3153, allocations: 0.6185 MB / 418.9 MB, free: 8.277 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004576/0.3157, allocations: 263.4 kB / 419.2 MB, free: 8.008 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006362/0.3164, allocations: 0.5932 MB / 419.8 MB, free: 7.285 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.3164, allocations: 50.5 kB / 419.8 MB, free: 7.227 MB / 334.1 MB Notification: Performance of pre-optimization done (n=52): time 2.014e-06/0.3164, allocations: 0 / 419.8 MB, free: 7.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=52): time 0.001204/0.3177, allocations: 0.5173 MB / 420.4 MB, free: 6.703 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/0.3178, allocations: 215.9 kB / 420.6 MB, free: 6.449 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.3181, allocations: 246.6 kB / 420.8 MB, free: 6.203 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.3181, allocations: 37.7 kB / 420.8 MB, free: 6.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.3182, allocations: 156.7 kB / 421 MB, free: 6 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.3183, allocations: 47.67 kB / 421 MB, free: 5.953 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.3184, allocations: 86.25 kB / 421.1 MB, free: 5.863 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.3185, allocations: 346.8 kB / 421.5 MB, free: 5.516 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.3187, allocations: 81.08 kB / 421.5 MB, free: 5.434 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003959/0.3191, allocations: 438.9 kB / 422 MB, free: 4.836 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005905/0.3197, allocations: 0.5281 MB / 422.5 MB, free: 4.145 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.3197, allocations: 4 kB / 422.5 MB, free: 4.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007458/0.3205, allocations: 0.4897 MB / 423 MB, free: 3.645 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.3205, allocations: 12 kB / 423 MB, free: 3.633 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.3205, allocations: 12 kB / 423 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.971e-05/0.3206, allocations: 16.41 kB / 423 MB, free: 3.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/0.3209, allocations: 115.8 kB / 423.1 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.106e-05/0.3209, allocations: 27.86 kB / 423.2 MB, free: 3.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.3212, allocations: 51.58 kB / 423.2 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.334e-05/0.3212, allocations: 32 kB / 423.3 MB, free: 3.383 MB / 334.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.0001897/0.3214, allocations: 201.5 kB / 423.4 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006368/0.322, allocations: 342 kB / 423.8 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00069/0.3227, allocations: 360.7 kB / 424.1 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.3228, allocations: 12 kB / 424.1 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3228, allocations: 0 / 424.1 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.3228, allocations: 4 kB / 424.2 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003824/0.3232, allocations: 341 kB / 424.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/0.3232, allocations: 4 kB / 424.5 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003951/0.3236, allocations: 103.8 kB / 424.6 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3236, allocations: 0 / 424.6 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.3236, allocations: 8 kB / 424.6 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.772e-06/0.3236, allocations: 7.984 kB / 424.6 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3237, allocations: 0 / 424.6 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.3249, allocations: 0.7862 MB / 425.4 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.789e-05/0.325, allocations: 116.6 kB / 425.5 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.679e-05/0.3251, allocations: 16 kB / 425.5 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/0.3254, allocations: 27.97 kB / 425.5 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.3254, allocations: 4 kB / 425.6 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.3254, allocations: 15.98 kB / 425.6 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001687/0.3256, allocations: 178 kB / 425.7 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3256, allocations: 8.062 kB / 425.7 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005289/0.3262, allocations: 75.91 kB / 425.8 MB, free: 0.6992 MB / 334.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.0001944/0.3264, allocations: 127.1 kB / 425.9 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007015/0.3271, allocations: 353.1 kB / 426.3 MB, free: 228 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3271, allocations: 0 / 426.3 MB, free: 228 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.3272, allocations: 32.47 kB / 426.3 MB, free: 196 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.3283, allocations: 317.1 kB / 426.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.3297, allocations: 0.7725 MB / 427.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.3301, allocations: 0.8158 MB / 428.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.065e-05/0.3301, allocations: 27.44 kB / 428.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3301, allocations: 0 / 428.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of Templates: time 0.006788/0.3369, allocations: 4.514 MB / 432.8 MB, free: 9.691 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & ./Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches