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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001316/0.001316, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001487/0.001487, allocations: 206.2 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.456/1.456, allocations: 230.4 MB / 258.1 MB, free: 8.141 MB / 206.1 MB " [Timeout remaining time 178] 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=5101,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=5101,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] "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.001982/0.001982, allocations: 79.81 kB / 378.7 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2805, allocations: 53.3 MB / 432 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004569/0.2851, allocations: 2.732 MB / 434.8 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.287, allocations: 0.9622 MB / 435.7 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002349/0.2872, allocations: 11.94 kB / 435.7 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.2875, allocations: 55.39 kB / 435.8 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002525/0.2877, allocations: 67.39 kB / 435.8 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007392/0.2885, allocations: 242.7 kB / 436.1 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004466/0.2889, allocations: 386.8 kB / 436.5 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002892/0.2892, allocations: 140.8 kB / 436.6 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001749/0.2894, allocations: 135.4 kB / 436.7 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002142/0.2896, allocations: 155.2 kB / 436.9 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.259e-05/0.2896, allocations: 32 kB / 436.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.2898, allocations: 63.97 kB / 437 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.2899, allocations: 83.67 kB / 437.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.29, allocations: 163 kB / 437.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005222/0.2906, allocations: 416.2 kB / 437.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2906, allocations: 0 / 437.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.2906, allocations: 0 / 437.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.2906, allocations: 8 kB / 437.6 MB, free: 1.766 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.00115/0.2917, allocations: 0.6427 MB / 438.3 MB, free: 1.074 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.2918, allocations: 12.03 kB / 438.3 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.838e-05/0.2918, allocations: 40.69 kB / 438.3 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005284/0.2924, allocations: 344 kB / 438.7 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/0.2924, allocations: 20.94 kB / 438.7 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.02e-05/0.2925, allocations: 24.38 kB / 438.7 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.2939, allocations: 0.7442 MB / 439.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.2939, allocations: 0 / 439.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/0.2939, allocations: 12 kB / 439.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.294, allocations: 8 kB / 439.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005803/0.2945, allocations: 222.8 kB / 439.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009552/0.2955, allocations: 0.7761 MB / 440.5 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.2966, allocations: 0.5965 MB / 441.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004781/0.2971, allocations: 244 kB / 441.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000735/0.2978, allocations: 0.5971 MB / 441.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/0.2979, allocations: 46.5 kB / 441.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 2.134e-06/0.2979, allocations: 0 / 441.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.001341/0.2992, allocations: 0.5206 MB / 442.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001797/0.2994, allocations: 211.9 kB / 442.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/0.2997, allocations: 250.6 kB / 442.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.188e-05/0.2997, allocations: 37.7 kB / 442.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.2999, allocations: 156.8 kB / 443.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.594e-05/0.2999, allocations: 43.78 kB / 443.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.3, allocations: 82.25 kB / 443.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3002, allocations: 350.8 kB / 443.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.3004, allocations: 89.06 kB / 443.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004852/0.3009, allocations: 435 kB / 444.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006576/0.3015, allocations: 0.532 MB / 444.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.3016, allocations: 4 kB / 444.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008175/0.3024, allocations: 0.4898 MB / 445.1 MB, free: 9.453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.3024, allocations: 8 kB / 445.1 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.3024, allocations: 12 kB / 445.1 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.821e-05/0.3024, allocations: 19.94 kB / 445.1 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/0.3028, allocations: 119.8 kB / 445.3 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.279e-05/0.3028, allocations: 27.81 kB / 445.3 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003025/0.3031, allocations: 55.66 kB / 445.3 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.3031, allocations: 28.22 kB / 445.4 MB, free: 9.188 MB / 350.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.0002396/0.3034, allocations: 194 kB / 445.6 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006886/0.3041, allocations: 358 kB / 445.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007466/0.3048, allocations: 352.7 kB / 446.3 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.3048, allocations: 8 kB / 446.3 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3048, allocations: 0 / 446.3 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.3048, allocations: 3.984 kB / 446.3 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004493/0.3053, allocations: 341.1 kB / 446.6 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.3053, allocations: 0 / 446.6 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004032/0.3057, allocations: 103.9 kB / 446.7 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.3057, allocations: 4 kB / 446.7 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.3057, allocations: 8 kB / 446.7 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3057, allocations: 0 / 446.7 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.3057, allocations: 8 kB / 446.7 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.3071, allocations: 0.7825 MB / 447.5 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.3073, allocations: 120.8 kB / 447.6 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.516e-05/0.3073, allocations: 12 kB / 447.6 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/0.3076, allocations: 27.98 kB / 447.7 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.3076, allocations: 3.984 kB / 447.7 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.244e-05/0.3076, allocations: 16 kB / 447.7 MB, free: 6.766 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000202/0.3078, allocations: 186 kB / 447.9 MB, free: 6.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3078, allocations: 0 / 447.9 MB, free: 6.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005513/0.3084, allocations: 75.95 kB / 447.9 MB, free: 6.512 MB / 350.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.0002307/0.3086, allocations: 131 kB / 448.1 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008193/0.3094, allocations: 349.5 kB / 448.4 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.3094, allocations: 4 kB / 448.4 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.3096, allocations: 28.05 kB / 448.4 MB, free: 6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.3107, allocations: 303.2 kB / 448.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.3125, allocations: 0.7622 MB / 449.5 MB, free: 4.898 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005212/0.313, allocations: 0.8081 MB / 450.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001281/0.3131, allocations: 39.27 kB / 450.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.898e-05/0.3132, allocations: 35.44 kB / 450.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of SimCode: time 1.212e-06/0.3132, allocations: 0 / 450.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of Templates: time 0.01062/0.3238, allocations: 4.853 MB / 455.2 MB, free: 15.19 MB / 366.1 MB " [Timeout remaining time 660] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.685980757698417]