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.001257/0.001257, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001326/0.001327, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 59.91 kB / 358.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2898, allocations: 50.55 MB / 409.2 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004316/0.2942, allocations: 2.687 MB / 411.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.2959, allocations: 0.9426 MB / 412.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001919/0.2961, allocations: 11.94 kB / 412.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000227/0.2963, allocations: 59.33 kB / 412.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.2966, allocations: 63.52 kB / 413 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006903/0.2973, allocations: 251 kB / 413.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004235/0.2977, allocations: 375 kB / 413.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003587/0.2981, allocations: 184.8 kB / 413.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.2983, allocations: 147.3 kB / 413.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.2985, allocations: 147.2 kB / 414.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.618e-05/0.2986, allocations: 32 kB / 414.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.2987, allocations: 71.95 kB / 414.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.2989, allocations: 79.69 kB / 414.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001823/0.2991, allocations: 163.1 kB / 414.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006245/0.2997, allocations: 410.2 kB / 414.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2997, allocations: 0 / 414.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.218e-06/0.2997, allocations: 0 / 414.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.2997, allocations: 3.938 kB / 414.8 MB, free: 12.18 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.001268/0.301, allocations: 0.657 MB / 415.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.3011, allocations: 12.03 kB / 415.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.873e-05/0.3012, allocations: 36.7 kB / 415.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004983/0.3017, allocations: 344.1 kB / 415.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.3017, allocations: 24.88 kB / 415.9 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.951e-05/0.3018, allocations: 28.38 kB / 415.9 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.3031, allocations: 0.7403 MB / 416.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.3031, allocations: 0 / 416.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.3031, allocations: 16 kB / 416.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.3031, allocations: 7.984 kB / 416.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005431/0.3037, allocations: 227.7 kB / 416.9 MB, free: 9.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009093/0.3046, allocations: 0.7606 MB / 417.7 MB, free: 9.145 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.3057, allocations: 0.6193 MB / 418.3 MB, free: 8.449 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004339/0.3061, allocations: 259.4 kB / 418.5 MB, free: 8.184 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006549/0.3068, allocations: 0.5971 MB / 419.1 MB, free: 7.457 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.3069, allocations: 50.5 kB / 419.2 MB, free: 7.398 MB / 334.1 MB Notification: Performance of pre-optimization done (n=52): time 2.214e-06/0.3069, allocations: 4 kB / 419.2 MB, free: 7.395 MB / 334.1 MB Notification: Performance of matching and sorting (n=52): time 0.001213/0.3081, allocations: 0.5245 MB / 419.7 MB, free: 6.863 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001521/0.3083, allocations: 212 kB / 419.9 MB, free: 6.613 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.3085, allocations: 250.6 kB / 420.1 MB, free: 6.363 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.3086, allocations: 33.7 kB / 420.2 MB, free: 6.324 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.3087, allocations: 156.8 kB / 420.3 MB, free: 6.164 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.013e-05/0.3087, allocations: 51.81 kB / 420.4 MB, free: 6.113 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.416e-05/0.3088, allocations: 82.2 kB / 420.5 MB, free: 6.027 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.309, allocations: 346.8 kB / 420.8 MB, free: 5.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.3092, allocations: 89.06 kB / 420.9 MB, free: 5.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004139/0.3096, allocations: 430.9 kB / 421.3 MB, free: 5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005666/0.3102, allocations: 0.5281 MB / 421.8 MB, free: 4.309 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.3102, allocations: 4 kB / 421.8 MB, free: 4.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007413/0.3109, allocations: 0.4938 MB / 422.3 MB, free: 3.805 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.311, allocations: 12.06 kB / 422.4 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.311, allocations: 12 kB / 422.4 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.311, allocations: 16 kB / 422.4 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/0.3113, allocations: 119.8 kB / 422.5 MB, free: 3.648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.04e-05/0.3113, allocations: 23.88 kB / 422.5 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002467/0.3116, allocations: 51.72 kB / 422.6 MB, free: 3.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/0.3116, allocations: 32 kB / 422.6 MB, free: 3.543 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.0001833/0.3118, allocations: 189.5 kB / 422.8 MB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006052/0.3124, allocations: 346.1 kB / 423.1 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006802/0.3131, allocations: 356.7 kB / 423.5 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.3132, allocations: 8 kB / 423.5 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.3132, allocations: 7.984 kB / 423.5 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.3132, allocations: 4 kB / 423.5 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004366/0.3136, allocations: 337.1 kB / 423.8 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.3136, allocations: 3.984 kB / 423.8 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000374/0.314, allocations: 99.81 kB / 423.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.314, allocations: 4 kB / 423.9 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/0.3141, allocations: 12 kB / 423.9 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3141, allocations: 4 kB / 423.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3141, allocations: 0 / 423.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.3154, allocations: 0.7828 MB / 424.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.722e-05/0.3155, allocations: 124.8 kB / 424.8 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.508e-05/0.3155, allocations: 23.98 kB / 424.9 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.3158, allocations: 23.97 kB / 424.9 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.3158, allocations: 8 kB / 424.9 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.3159, allocations: 8 kB / 424.9 MB, free: 1.121 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001709/0.316, allocations: 186 kB / 425.1 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.316, allocations: 4.062 kB / 425.1 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005018/0.3166, allocations: 75.95 kB / 425.2 MB, free: 0.8633 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.000201/0.3168, allocations: 127 kB / 425.3 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007087/0.3175, allocations: 361.3 kB / 425.6 MB, free: 388 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3175, allocations: 0 / 425.6 MB, free: 388 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.151e-05/0.3176, allocations: 24.3 kB / 425.7 MB, free: 364 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.3186, allocations: 318.8 kB / 426 MB, free: 40 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.32, allocations: 0.7549 MB / 426.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.3204, allocations: 0.8119 MB / 427.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000117/0.3205, allocations: 39.28 kB / 427.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.747e-05/0.3206, allocations: 27.44 kB / 427.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3206, allocations: 0 / 427.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of Templates: time 0.008712/0.3293, allocations: 4.669 MB / 432.3 MB, free: 9.699 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/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_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches