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.001928/0.001928, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002481/0.002481, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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 1.487/1.487, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.693e-06/1.693e-06, allocations: 0 / 272.2 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.939e-05/3.108e-05, allocations: 2.312 kB / 272.2 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.00432/0.004351, allocations: 2.566 MB / 274.7 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.006201, allocations: 0.8996 MB / 275.6 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001842/0.006385, allocations: 15.88 kB / 275.7 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.006619, allocations: 59.39 kB / 275.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.006903, allocations: 75.31 kB / 275.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006913/0.007594, allocations: 243.3 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004751/0.008069, allocations: 382.8 kB / 276.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002993/0.008369, allocations: 141.3 kB / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002744/0.008643, allocations: 195.5 kB / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.008821, allocations: 111.6 kB / 276.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.609e-05/0.008877, allocations: 28 kB / 276.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.009014, allocations: 71.95 kB / 276.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.009134, allocations: 79.69 kB / 277 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.009279, allocations: 107.7 kB / 277.1 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006381/0.009917, allocations: 430.5 kB / 277.5 MB, free: 12.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.00992, allocations: 4 kB / 277.5 MB, free: 12.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.009921, allocations: 0 / 277.5 MB, free: 12.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.009928, allocations: 0 / 277.5 MB, free: 12.44 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.001162/0.01109, allocations: 0.5713 MB / 278.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.01113, allocations: 8.031 kB / 278.1 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.01126, allocations: 60.7 kB / 278.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005281/0.01179, allocations: 289.2 kB / 278.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.296e-05/0.01183, allocations: 21.03 kB / 278.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.955e-05/0.01188, allocations: 28.38 kB / 278.5 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.01343, allocations: 0.7893 MB / 279.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.01345, allocations: 4.172 kB / 279.3 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.299e-05/0.01348, allocations: 15.94 kB / 279.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.01349, allocations: 8 kB / 279.3 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005955/0.01409, allocations: 219.8 kB / 279.5 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008665/0.01496, allocations: 0.6104 MB / 280.2 MB, free: 9.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.01606, allocations: 459.9 kB / 280.6 MB, free: 9.191 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006051/0.01666, allocations: 243.4 kB / 280.8 MB, free: 8.941 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004234/0.01709, allocations: 71.94 kB / 280.9 MB, free: 8.871 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.01713, allocations: 38.56 kB / 280.9 MB, free: 8.824 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 2.174e-06/0.01713, allocations: 0 / 280.9 MB, free: 8.824 MB / 266.7 MB Notification: Performance of matching and sorting (n=52): time 0.00133/0.01846, allocations: 0.5439 MB / 281.5 MB, free: 8.273 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001875/0.01865, allocations: 216.7 kB / 281.7 MB, free: 8.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.01896, allocations: 249.9 kB / 281.9 MB, free: 7.766 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/0.019, allocations: 33.83 kB / 282 MB, free: 7.727 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.01914, allocations: 156.8 kB / 282.1 MB, free: 7.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.983e-05/0.01918, allocations: 35.78 kB / 282.2 MB, free: 7.535 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-05/0.01924, allocations: 38.64 kB / 282.2 MB, free: 7.492 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.01944, allocations: 334.8 kB / 282.5 MB, free: 7.156 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.01957, allocations: 47.95 kB / 282.6 MB, free: 7.109 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.01982, allocations: 186.4 kB / 282.8 MB, free: 6.875 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/0.02014, allocations: 169.6 kB / 282.9 MB, free: 6.676 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.02015, allocations: 4 kB / 282.9 MB, free: 6.672 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004241/0.02057, allocations: 213.3 kB / 283.1 MB, free: 6.457 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.02059, allocations: 11.92 kB / 283.2 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.0206, allocations: 4 kB / 283.2 MB, free: 6.441 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.02062, allocations: 7.938 kB / 283.2 MB, free: 6.434 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.02077, allocations: 35.98 kB / 283.2 MB, free: 6.398 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.02078, allocations: 8.25 kB / 283.2 MB, free: 6.391 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.02093, allocations: 23.88 kB / 283.2 MB, free: 6.367 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.02095, allocations: 12 kB / 283.2 MB, free: 6.355 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.0001963/0.02115, allocations: 149.8 kB / 283.4 MB, free: 6.199 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007139/0.02186, allocations: 365.2 kB / 283.7 MB, free: 5.836 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007519/0.02261, allocations: 356.5 kB / 284.1 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.02262, allocations: 11.94 kB / 284.1 MB, free: 5.469 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.02263, allocations: 0 / 284.1 MB, free: 5.469 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.02264, allocations: 3.984 kB / 284.1 MB, free: 5.465 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003534/0.02299, allocations: 217 kB / 284.3 MB, free: 5.223 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.023, allocations: 0 / 284.3 MB, free: 5.223 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003955/0.02339, allocations: 99.88 kB / 284.4 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.0234, allocations: 4 kB / 284.4 MB, free: 5.121 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.02342, allocations: 12 kB / 284.4 MB, free: 5.109 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.02343, allocations: 4 kB / 284.4 MB, free: 5.105 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.02343, allocations: 3.938 kB / 284.4 MB, free: 5.102 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.02486, allocations: 0.7808 MB / 285.2 MB, free: 4.297 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.035e-05/0.02493, allocations: 55.66 kB / 285.3 MB, free: 4.242 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.598e-05/0.02498, allocations: 16 kB / 285.3 MB, free: 4.227 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.02524, allocations: 27.97 kB / 285.3 MB, free: 4.199 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.02529, allocations: 7.938 kB / 285.3 MB, free: 4.191 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.538e-05/0.02532, allocations: 15.98 kB / 285.3 MB, free: 4.176 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001958/0.02552, allocations: 177.2 kB / 285.5 MB, free: 4.004 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02552, allocations: 0 / 285.5 MB, free: 4.004 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003971/0.02592, allocations: 63.95 kB / 285.6 MB, free: 3.941 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.0002177/0.02613, allocations: 139.1 kB / 285.7 MB, free: 3.793 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005855/0.02672, allocations: 231.2 kB / 285.9 MB, free: 3.566 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.02672, allocations: 0 / 285.9 MB, free: 3.566 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.02683, allocations: 28.59 kB / 286 MB, free: 3.539 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.02791, allocations: 312.3 kB / 286.3 MB, free: 3.238 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.02936, allocations: 0.7001 MB / 287 MB, free: 2.5 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.02958, allocations: 205.8 kB / 287.2 MB, free: 2.281 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.116e-05/0.02966, allocations: 26.98 kB / 287.2 MB, free: 2.254 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.902e-05/0.02974, allocations: 28.48 kB / 287.2 MB, free: 2.227 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02974, allocations: 0 / 287.2 MB, free: 2.227 MB / 266.7 MB Notification: Performance of Templates: time 0.009987/0.03973, allocations: 4.644 MB / 291.9 MB, free: 13.63 MB / 282.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 480] 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","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.452915019006468]