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.001144/0.001144, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.00139/0.00139, allocations: 166.4 kB / 24.91 MB, free: 8.77 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.9714/0.9714, allocations: 177 MB / 205.2 MB, free: 5.434 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.522e-06/1.522e-06, allocations: 0 / 273.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.578e-05/1.73e-05, allocations: 2.312 kB / 273.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.002824/0.002841, allocations: 2.635 MB / 276 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.00399, allocations: 0.9537 MB / 276.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.004139, allocations: 11.94 kB / 277 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001675/0.004307, allocations: 67.31 kB / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.004493, allocations: 63.5 kB / 277.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00042/0.004913, allocations: 247.3 kB / 277.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000289/0.005202, allocations: 382.9 kB / 277.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.00539, allocations: 133.3 kB / 277.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.00557, allocations: 203.5 kB / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.005707, allocations: 107.6 kB / 278.1 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.865e-05/0.005746, allocations: 32 kB / 278.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.454e-05/0.00584, allocations: 83.81 kB / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.103e-05/0.005921, allocations: 79.69 kB / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.185e-05/0.005993, allocations: 103.7 kB / 278.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.006263, allocations: 274.9 kB / 278.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.006265, allocations: 0 / 278.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.006265, allocations: 0 / 278.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.006269, allocations: 3.938 kB / 278.7 MB, free: 11.87 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.0005883/0.006857, allocations: 0.5348 MB / 279.2 MB, free: 11.31 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.006892, allocations: 12.03 kB / 279.2 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.37e-05/0.006955, allocations: 48.89 kB / 279.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.007199, allocations: 241.2 kB / 279.5 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.007222, allocations: 25.03 kB / 279.6 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.489e-05/0.007257, allocations: 28.38 kB / 279.6 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005536/0.00781, allocations: 0.5884 MB / 280.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.007823, allocations: 8.125 kB / 280.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.00784, allocations: 11.94 kB / 280.2 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.007849, allocations: 8 kB / 280.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.357e-05/0.007943, allocations: 73.52 kB / 280.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.008381, allocations: 0.5288 MB / 280.8 MB, free: 9.629 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/0.008709, allocations: 271.9 kB / 281.1 MB, free: 9.324 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.008819, allocations: 144 kB / 281.2 MB, free: 9.172 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001779/0.008997, allocations: 67.94 kB / 281.3 MB, free: 9.105 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.009021, allocations: 38.56 kB / 281.3 MB, free: 9.059 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 1.873e-06/0.009023, allocations: 0 / 281.3 MB, free: 9.059 MB / 266.7 MB Notification: Performance of matching and sorting (n=52): time 0.0002935/0.009317, allocations: 246.3 kB / 281.5 MB, free: 8.812 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.957e-05/0.009406, allocations: 223.8 kB / 281.8 MB, free: 8.551 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.009538, allocations: 225 kB / 282 MB, free: 8.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.009558, allocations: 37.7 kB / 282 MB, free: 8.277 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.58e-05/0.009614, allocations: 125.4 kB / 282.1 MB, free: 8.148 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.009635, allocations: 39.7 kB / 282.2 MB, free: 8.109 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.009672, allocations: 41.77 kB / 282.2 MB, free: 8.062 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.058e-05/0.009752, allocations: 338.8 kB / 282.6 MB, free: 7.723 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.128e-05/0.009774, allocations: 14.97 kB / 282.6 MB, free: 7.707 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.293e-05/0.009846, allocations: 150.5 kB / 282.7 MB, free: 7.508 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.556e-05/0.009932, allocations: 116.6 kB / 282.8 MB, free: 7.355 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.009934, allocations: 0 / 282.8 MB, free: 7.355 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001135/0.01005, allocations: 125.9 kB / 283 MB, free: 7.223 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.01006, allocations: 8 kB / 283 MB, free: 7.215 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.01007, allocations: 4.312 kB / 283 MB, free: 7.211 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.01008, allocations: 15.92 kB / 283 MB, free: 7.195 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.86e-05/0.01016, allocations: 36.34 kB / 283 MB, free: 7.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.01017, allocations: 0 / 283 MB, free: 7.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.922e-05/0.01023, allocations: 19.95 kB / 283 MB, free: 7.141 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.01023, allocations: 8 kB / 283 MB, free: 7.133 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 9.408e-05/0.01033, allocations: 144.5 kB / 283.2 MB, free: 6.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.01049, allocations: 177.2 kB / 283.4 MB, free: 6.801 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.01069, allocations: 196.8 kB / 283.5 MB, free: 6.605 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.0107, allocations: 7.938 kB / 283.6 MB, free: 6.598 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.0107, allocations: 4 kB / 283.6 MB, free: 6.594 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.0107, allocations: 7.922 kB / 283.6 MB, free: 6.586 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.01086, allocations: 145.6 kB / 283.7 MB, free: 6.426 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.01086, allocations: 7.984 kB / 283.7 MB, free: 6.418 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.01104, allocations: 91.89 kB / 283.8 MB, free: 6.328 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.01104, allocations: 4 kB / 283.8 MB, free: 6.324 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.01105, allocations: 4 kB / 283.8 MB, free: 6.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.01106, allocations: 4 kB / 283.8 MB, free: 6.316 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.01106, allocations: 3.984 kB / 283.8 MB, free: 6.312 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.01119, allocations: 267.1 kB / 284.1 MB, free: 6.027 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.12e-05/0.01122, allocations: 39.69 kB / 284.1 MB, free: 5.988 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.01125, allocations: 19.98 kB / 284.1 MB, free: 5.969 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.447e-05/0.01135, allocations: 15.98 kB / 284.2 MB, free: 5.953 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/0.01137, allocations: 7.938 kB / 284.2 MB, free: 5.945 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.01139, allocations: 11.98 kB / 284.2 MB, free: 5.934 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.115e-05/0.01144, allocations: 78.78 kB / 284.3 MB, free: 5.855 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01144, allocations: 0 / 284.3 MB, free: 5.855 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002032/0.01164, allocations: 63.89 kB / 284.3 MB, free: 5.793 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.0001128/0.01176, allocations: 112.3 kB / 284.4 MB, free: 5.676 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001354/0.01189, allocations: 116.1 kB / 284.5 MB, free: 5.559 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.01189, allocations: 4 kB / 284.5 MB, free: 5.555 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.605e-05/0.01191, allocations: 16.8 kB / 284.6 MB, free: 5.535 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.01233, allocations: 229.7 kB / 284.8 MB, free: 5.309 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008122/0.01314, allocations: 0.6719 MB / 285.5 MB, free: 4.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.015e-05/0.01321, allocations: 133.2 kB / 285.6 MB, free: 4.441 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.4e-05/0.01325, allocations: 26.97 kB / 285.6 MB, free: 4.418 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.01339, allocations: 111.3 kB / 285.7 MB, free: 4.309 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01339, allocations: 0 / 285.7 MB, free: 4.309 MB / 266.7 MB Notification: Performance of Templates: time 0.1125/0.1259, allocations: 4.886 MB / 290.6 MB, free: 25.89 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.6571232029236853]