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.001134/0.001133, allocations: 118.2 kB / 17.78 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001299/0.001299, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 56.09 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2936, allocations: 50.55 MB / 409.2 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004565/0.2983, allocations: 2.684 MB / 411.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.3003, allocations: 0.9426 MB / 412.9 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003778/0.3007, allocations: 11.88 kB / 412.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002891/0.301, allocations: 67.38 kB / 412.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003599/0.3014, allocations: 63.45 kB / 413 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008762/0.3023, allocations: 242.9 kB / 413.2 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005375/0.3028, allocations: 374.9 kB / 413.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003809/0.3032, allocations: 196.8 kB / 413.8 MB, free: 13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/0.3034, allocations: 147.4 kB / 413.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.3037, allocations: 143.2 kB / 414.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.452e-05/0.3038, allocations: 35.94 kB / 414.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.3039, allocations: 71.95 kB / 414.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.304, allocations: 75.75 kB / 414.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.3042, allocations: 167 kB / 414.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005621/0.3048, allocations: 410.3 kB / 414.8 MB, free: 11.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3048, allocations: 4 kB / 414.8 MB, free: 11.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3048, allocations: 0 / 414.8 MB, free: 11.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.3048, allocations: 0 / 414.8 MB, free: 11.97 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.001215/0.306, allocations: 0.6403 MB / 415.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.3061, allocations: 12.03 kB / 415.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.3062, allocations: 40.47 kB / 415.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000538/0.3068, allocations: 331.9 kB / 415.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.3068, allocations: 24.88 kB / 415.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.673e-05/0.3069, allocations: 24.38 kB / 415.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.3082, allocations: 0.7481 MB / 416.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.3082, allocations: 0 / 416.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.484e-05/0.3082, allocations: 12 kB / 416.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.3083, allocations: 7.984 kB / 416.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005047/0.3088, allocations: 227.7 kB / 416.9 MB, free: 9.797 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008622/0.3096, allocations: 0.7643 MB / 417.6 MB, free: 8.957 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.3107, allocations: 0.6146 MB / 418.3 MB, free: 8.266 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004379/0.3111, allocations: 267.4 kB / 418.5 MB, free: 7.992 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000651/0.3118, allocations: 0.5932 MB / 419.1 MB, free: 7.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/0.3119, allocations: 46.56 kB / 419.2 MB, free: 7.215 MB / 334.1 MB Notification: Performance of pre-optimization done (n=52): time 1.984e-06/0.3119, allocations: 0 / 419.2 MB, free: 7.215 MB / 334.1 MB Notification: Performance of matching and sorting (n=52): time 0.001196/0.3131, allocations: 0.5251 MB / 419.7 MB, free: 6.684 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001602/0.3132, allocations: 212 kB / 419.9 MB, free: 6.434 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.3135, allocations: 250.6 kB / 420.1 MB, free: 6.184 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.3136, allocations: 37.64 kB / 420.2 MB, free: 6.141 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.3137, allocations: 152.8 kB / 420.3 MB, free: 5.984 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.427e-05/0.3138, allocations: 55.59 kB / 420.4 MB, free: 5.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.3139, allocations: 82.27 kB / 420.4 MB, free: 5.844 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3141, allocations: 346.8 kB / 420.8 MB, free: 5.496 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.3143, allocations: 85.06 kB / 420.9 MB, free: 5.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004575/0.3147, allocations: 427 kB / 421.3 MB, free: 4.824 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006712/0.3154, allocations: 0.532 MB / 421.8 MB, free: 4.129 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.3155, allocations: 4 kB / 421.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008394/0.3163, allocations: 0.4935 MB / 422.3 MB, free: 3.625 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.3163, allocations: 12 kB / 422.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.3164, allocations: 12 kB / 422.3 MB, free: 3.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.816e-05/0.3164, allocations: 12 kB / 422.4 MB, free: 3.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003219/0.3167, allocations: 123.8 kB / 422.5 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.487e-05/0.3168, allocations: 19.94 kB / 422.5 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.317, allocations: 51.58 kB / 422.5 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.622e-05/0.3171, allocations: 36 kB / 422.6 MB, free: 3.363 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.0002361/0.3173, allocations: 194 kB / 422.8 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006334/0.318, allocations: 349.9 kB / 423.1 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006843/0.3187, allocations: 356.8 kB / 423.5 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/0.3187, allocations: 8 kB / 423.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.3187, allocations: 3.984 kB / 423.5 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.3187, allocations: 4 kB / 423.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003969/0.3191, allocations: 337 kB / 423.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/0.3192, allocations: 3.984 kB / 423.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000361/0.3195, allocations: 107.8 kB / 423.9 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.3195, allocations: 0 / 423.9 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.3196, allocations: 12 kB / 423.9 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.3196, allocations: 4 kB / 423.9 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3196, allocations: 0 / 423.9 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.3208, allocations: 0.7823 MB / 424.7 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.3209, allocations: 120.5 kB / 424.8 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.098e-05/0.3209, allocations: 16 kB / 424.8 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.3212, allocations: 23.97 kB / 424.9 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.3212, allocations: 8 kB / 424.9 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/0.3213, allocations: 8 kB / 424.9 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001845/0.3215, allocations: 186 kB / 425.1 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3215, allocations: 8 kB / 425.1 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005125/0.322, allocations: 71.91 kB / 425.1 MB, free: 0.6836 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.0002123/0.3222, allocations: 123.2 kB / 425.3 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006964/0.3229, allocations: 357.1 kB / 425.6 MB, free: 216 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3229, allocations: 0 / 425.6 MB, free: 216 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.429e-05/0.323, allocations: 36.42 kB / 425.6 MB, free: 180 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009781/0.324, allocations: 306.7 kB / 425.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.3255, allocations: 0.7515 MB / 426.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.3259, allocations: 0.8158 MB / 427.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001259/0.326, allocations: 35.28 kB / 427.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.954e-05/0.3261, allocations: 31.44 kB / 427.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3261, allocations: 0 / 427.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of Templates: time 0.01056/0.3367, allocations: 4.671 MB / 432.2 MB, free: 9.531 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