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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00108/0.00108, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 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.001115/0.001115, allocations: 167.4 kB / 25.61 MB, free: 8.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.963/0.963, allocations: 177 MB / 205.9 MB, free: 4.453 MB / 186.7 MB " [Timeout remaining time 179] 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=5101,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=5101,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 274.1 MB, free: 4.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.485e-05/2.634e-05, allocations: 3.344 kB / 274.1 MB, free: 4.312 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.003778/0.003804, allocations: 2.634 MB / 276.7 MB, free: 1.672 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.005497, allocations: 0.9257 MB / 277.6 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002686/0.005765, allocations: 17.91 kB / 277.7 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000206/0.005971, allocations: 59.33 kB / 277.7 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002722/0.006243, allocations: 67.44 kB / 277.8 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006355/0.006879, allocations: 236.9 kB / 278 MB, free: 384 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004509/0.00733, allocations: 393.2 kB / 278.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002646/0.007594, allocations: 129.3 kB / 278.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002601/0.007855, allocations: 195.5 kB / 278.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.008019, allocations: 107.6 kB / 278.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.833e-05/0.008067, allocations: 32 kB / 278.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.008188, allocations: 75.89 kB / 278.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.008292, allocations: 83.69 kB / 279 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.008393, allocations: 109.2 kB / 279.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003882/0.008782, allocations: 274.9 kB / 279.4 MB, free: 15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.008784, allocations: 0 / 279.4 MB, free: 15 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.093e-06/0.008785, allocations: 0 / 279.4 MB, free: 15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.008791, allocations: 0.7812 kB / 279.4 MB, free: 15 MB / 266.7 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.0008693/0.009661, allocations: 0.6679 MB / 280.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.009698, allocations: 8.031 kB / 280.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.009804, allocations: 60.7 kB / 280.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003762/0.01018, allocations: 276 kB / 280.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.01021, allocations: 21.03 kB / 280.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.01026, allocations: 32.33 kB / 280.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000727/0.01099, allocations: 0.6038 MB / 281 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.011, allocations: 192 / 281 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.01103, allocations: 15.94 kB / 281.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.01104, allocations: 8 kB / 281.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.01118, allocations: 71.86 kB / 281.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006728/0.01185, allocations: 0.7611 MB / 281.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004623/0.01231, allocations: 317.6 kB / 282.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.01248, allocations: 147.4 kB / 282.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002375/0.01272, allocations: 55.95 kB / 282.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.01275, allocations: 53.38 kB / 282.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 2.134e-06/0.01275, allocations: 3.938 kB / 282.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=52): time 0.0005078/0.01326, allocations: 310.2 kB / 282.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.01337, allocations: 215.6 kB / 283 MB, free: 11.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.01358, allocations: 288.2 kB / 283.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.0136, allocations: 37.7 kB / 283.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.01373, allocations: 207.6 kB / 283.5 MB, free: 10.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.01376, allocations: 23.8 kB / 283.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.899e-05/0.01382, allocations: 43.45 kB / 283.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.01396, allocations: 0.5157 MB / 284.1 MB, free: 9.957 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.605e-05/0.01399, allocations: 12 kB / 284.1 MB, free: 9.945 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.01412, allocations: 184.2 kB / 284.3 MB, free: 9.699 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.01425, allocations: 140.8 kB / 284.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01425, allocations: 0 / 284.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002034/0.01445, allocations: 145.3 kB / 284.6 MB, free: 9.367 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.01447, allocations: 8 kB / 284.6 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.01448, allocations: 0 / 284.6 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.01449, allocations: 7.938 kB / 284.6 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.0146, allocations: 40.23 kB / 284.6 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.01461, allocations: 7.984 kB / 284.6 MB, free: 9.305 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.251e-05/0.0147, allocations: 15.89 kB / 284.6 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.01471, allocations: 12 kB / 284.6 MB, free: 9.277 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (18): * Single equations (assignments): 18 * 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.0001372/0.01485, allocations: 176.5 kB / 284.8 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003239/0.01517, allocations: 225.3 kB / 285 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000328/0.0155, allocations: 244.5 kB / 285.3 MB, free: 8.625 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.01551, allocations: 7.938 kB / 285.3 MB, free: 8.617 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.01551, allocations: 4 kB / 285.3 MB, free: 8.613 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.01552, allocations: 7.984 kB / 285.3 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.01578, allocations: 188.9 kB / 285.5 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.01578, allocations: 0 / 285.5 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.01605, allocations: 91.88 kB / 285.6 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.01606, allocations: 4 kB / 285.6 MB, free: 8.301 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.01608, allocations: 12 kB / 285.6 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.01608, allocations: 4 kB / 285.6 MB, free: 8.285 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.01609, allocations: 3.938 kB / 285.6 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.01631, allocations: 370.2 kB / 286 MB, free: 7.891 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-05/0.01636, allocations: 51.67 kB / 286 MB, free: 7.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.511e-05/0.01641, allocations: 12 kB / 286 MB, free: 7.828 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.01657, allocations: 24.05 kB / 286 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.0166, allocations: 7.922 kB / 286 MB, free: 7.797 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.01662, allocations: 12 kB / 286.1 MB, free: 7.785 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001156/0.01674, allocations: 197.1 kB / 286.3 MB, free: 7.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01674, allocations: 0 / 286.3 MB, free: 7.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003686/0.01711, allocations: 63.89 kB / 286.3 MB, free: 7.527 MB / 266.7 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.0001589/0.01727, allocations: 132.4 kB / 286.4 MB, free: 7.387 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002139/0.01748, allocations: 130.6 kB / 286.6 MB, free: 7.262 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.01748, allocations: 0 / 286.6 MB, free: 7.262 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.494e-05/0.01751, allocations: 15.69 kB / 286.6 MB, free: 7.242 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006901/0.0182, allocations: 229.2 kB / 286.8 MB, free: 7.016 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.01935, allocations: 0.6631 MB / 287.5 MB, free: 6.305 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.589e-05/0.01945, allocations: 121.2 kB / 287.6 MB, free: 6.168 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.347e-05/0.01952, allocations: 26.97 kB / 287.6 MB, free: 6.145 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.01972, allocations: 146.1 kB / 287.8 MB, free: 6 MB / 266.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01973, allocations: 0 / 287.8 MB, free: 6 MB / 266.7 MB Notification: Performance of Templates: time 0.008922/0.02865, allocations: 5.101 MB / 292.9 MB, free: 0.9805 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 240] 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.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWith_AD_DA_Effects/ClockedWith_AD_DA_Effects.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9081111452542245]