Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=500,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001415/0.001414, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001559/0.001559, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.436/1.436, allocations: 227.7 MB / 247.2 MB, free: 10.19 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 63.89 kB / 359 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3324, allocations: 50.55 MB / 409.5 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004429/0.3369, allocations: 2.696 MB / 412.2 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.3389, allocations: 0.9426 MB / 413.2 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002039/0.3392, allocations: 11.94 kB / 413.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.3394, allocations: 59.39 kB / 413.2 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002672/0.3397, allocations: 67.44 kB / 413.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007335/0.3404, allocations: 234.7 kB / 413.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004576/0.3409, allocations: 378.9 kB / 413.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003467/0.3413, allocations: 192.8 kB / 414.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.3414, allocations: 139.4 kB / 414.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.3417, allocations: 151.2 kB / 414.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.471e-05/0.3417, allocations: 32 kB / 414.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.3419, allocations: 67.97 kB / 414.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.342, allocations: 75.75 kB / 414.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.3422, allocations: 167 kB / 414.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005213/0.3427, allocations: 418 kB / 415.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3427, allocations: 0 / 415.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3427, allocations: 4 kB / 415.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.3428, allocations: 0 / 415.1 MB, free: 11.82 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.001123/0.3439, allocations: 0.6427 MB / 415.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.3439, allocations: 16.03 kB / 415.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.832e-05/0.344, allocations: 40.7 kB / 415.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000504/0.3445, allocations: 336.1 kB / 416.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.148e-05/0.3446, allocations: 24.88 kB / 416.2 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.659e-05/0.3446, allocations: 28.36 kB / 416.2 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.346, allocations: 0.7442 MB / 417 MB, free: 9.879 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.3461, allocations: 0 / 417 MB, free: 9.879 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.573e-05/0.3461, allocations: 15.98 kB / 417 MB, free: 9.863 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.3461, allocations: 4 kB / 417 MB, free: 9.859 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005708/0.3467, allocations: 215.8 kB / 417.2 MB, free: 9.648 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008989/0.3476, allocations: 0.7684 MB / 418 MB, free: 8.805 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.3488, allocations: 0.631 MB / 418.6 MB, free: 8.098 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004764/0.3493, allocations: 255.4 kB / 418.8 MB, free: 7.836 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007692/0.3501, allocations: 0.601 MB / 419.4 MB, free: 7.105 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.628e-05/0.3502, allocations: 50.48 kB / 419.5 MB, free: 7.047 MB / 334.1 MB Notification: Performance of pre-optimization done (n=52): time 2.114e-06/0.3502, allocations: 0 / 419.5 MB, free: 7.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=52): time 0.001296/0.3515, allocations: 0.5244 MB / 420 MB, free: 6.516 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001584/0.3516, allocations: 207.9 kB / 420.2 MB, free: 6.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002821/0.3519, allocations: 250.6 kB / 420.5 MB, free: 6.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.352, allocations: 33.7 kB / 420.5 MB, free: 5.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.3521, allocations: 156.8 kB / 420.6 MB, free: 5.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.27e-05/0.3522, allocations: 55.94 kB / 420.7 MB, free: 5.766 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.3523, allocations: 82.27 kB / 420.8 MB, free: 5.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3525, allocations: 346.8 kB / 421.1 MB, free: 5.332 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.3527, allocations: 81.06 kB / 421.2 MB, free: 5.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004575/0.3531, allocations: 431 kB / 421.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000683/0.3538, allocations: 0.5359 MB / 422.2 MB, free: 3.961 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.3538, allocations: 4 kB / 422.2 MB, free: 3.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.000841/0.3547, allocations: 497.2 kB / 422.6 MB, free: 3.465 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.3547, allocations: 12 kB / 422.7 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.3547, allocations: 8 kB / 422.7 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.043e-05/0.3548, allocations: 16 kB / 422.7 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003361/0.3551, allocations: 124.3 kB / 422.8 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-05/0.3551, allocations: 23.88 kB / 422.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/0.3554, allocations: 59.72 kB / 422.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.3555, allocations: 32 kB / 422.9 MB, free: 3.195 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.0002382/0.3557, allocations: 182 kB / 423.1 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006863/0.3564, allocations: 354 kB / 423.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000746/0.3572, allocations: 360.7 kB / 423.8 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.3572, allocations: 7.984 kB / 423.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.3572, allocations: 0 / 423.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.3572, allocations: 4 kB / 423.8 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004418/0.3577, allocations: 337.1 kB / 424.1 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.3577, allocations: 3.984 kB / 424.1 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003975/0.3581, allocations: 107.8 kB / 424.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.048e-05/0.3581, allocations: 4 kB / 424.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/0.3582, allocations: 12 kB / 424.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.3582, allocations: 4 kB / 424.3 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3582, allocations: 0 / 424.3 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.3595, allocations: 0.7786 MB / 425 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.3597, allocations: 124.8 kB / 425.2 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.484e-05/0.3597, allocations: 19.94 kB / 425.2 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.36, allocations: 28.03 kB / 425.2 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.36, allocations: 4 kB / 425.2 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/0.36, allocations: 12 kB / 425.2 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000201/0.3603, allocations: 186 kB / 425.4 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3603, allocations: 0 / 425.4 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005196/0.3608, allocations: 79.89 kB / 425.5 MB, free: 0.5117 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.0002078/0.361, allocations: 130.6 kB / 425.6 MB, free: 388 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007427/0.3618, allocations: 365.5 kB / 426 MB, free: 28 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3618, allocations: 0 / 426 MB, free: 28 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.835e-05/0.3619, allocations: 23.98 kB / 426 MB, free: 4 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.3629, allocations: 307.3 kB / 426.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.3645, allocations: 0.7662 MB / 427.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004884/0.365, allocations: 0.812 MB / 427.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.3651, allocations: 35.28 kB / 427.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.435e-05/0.3652, allocations: 35.38 kB / 427.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3652, allocations: 0 / 427.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of Templates: time 0.01043/0.3757, allocations: 4.664 MB / 432.6 MB, free: 9.371 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWith_AD_DA_Effects/ClockedWith_AD_DA_Effects.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches