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.002713/0.002713, allocations: 103.5 kB / 20.97 MB, free: 3.449 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.0026/0.0026, allocations: 160.8 kB / 24.27 MB, free: 152 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.537/1.537, allocations: 177 MB / 204.4 MB, free: 5.617 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.393e-06/1.393e-06, allocations: 0 / 272.2 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.585e-05, allocations: 2.312 kB / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004545/0.004571, allocations: 2.618 MB / 274.8 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.006439, allocations: 0.9191 MB / 275.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/0.006621, allocations: 15.88 kB / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002194/0.006841, allocations: 59.38 kB / 275.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002715/0.007112, allocations: 79.31 kB / 275.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006893/0.007801, allocations: 239.4 kB / 276.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004723/0.008274, allocations: 386.8 kB / 276.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002918/0.008565, allocations: 129.3 kB / 276.6 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002876/0.008853, allocations: 203.5 kB / 276.8 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.009036, allocations: 107.6 kB / 276.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.378e-05/0.0091, allocations: 32 kB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.009244, allocations: 71.95 kB / 277 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.00938, allocations: 87.67 kB / 277.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.009516, allocations: 103.7 kB / 277.2 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000588/0.0101, allocations: 430.5 kB / 277.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.01011, allocations: 0 / 277.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01011, allocations: 0 / 277.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.01011, allocations: 0 / 277.6 MB, free: 12.36 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.001168/0.01128, allocations: 0.6865 MB / 278.3 MB, free: 11.63 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.01132, allocations: 12.03 kB / 278.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.01146, allocations: 64.7 kB / 278.4 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004704/0.01193, allocations: 276 kB / 278.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.01e-05/0.01196, allocations: 21.03 kB / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.928e-05/0.01202, allocations: 32.38 kB / 278.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.01345, allocations: 0.7752 MB / 279.5 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.01347, allocations: 192 / 279.5 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/0.0135, allocations: 15.94 kB / 279.5 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.01352, allocations: 8 kB / 279.5 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004795/0.014, allocations: 179.8 kB / 279.7 MB, free: 10.19 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.01501, allocations: 0.8041 MB / 280.5 MB, free: 9.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.01604, allocations: 470.1 kB / 280.9 MB, free: 8.809 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004805/0.01652, allocations: 262.8 kB / 281.2 MB, free: 8.535 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004234/0.01695, allocations: 71.94 kB / 281.3 MB, free: 8.465 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001298/0.01708, allocations: 49.38 kB / 281.3 MB, free: 8.406 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 1.773e-06/0.01708, allocations: 0 / 281.3 MB, free: 8.406 MB / 266.7 MB Notification: Performance of matching and sorting (n=52): time 0.00117/0.01825, allocations: 493 kB / 281.8 MB, free: 7.918 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001811/0.01843, allocations: 220.8 kB / 282 MB, free: 7.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003592/0.01879, allocations: 340.4 kB / 282.3 MB, free: 7.312 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/0.01883, allocations: 37.7 kB / 282.4 MB, free: 7.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.019, allocations: 211.6 kB / 282.6 MB, free: 7.059 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.317e-05/0.01904, allocations: 35.78 kB / 282.6 MB, free: 7.023 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.969e-05/0.01912, allocations: 48.31 kB / 282.7 MB, free: 6.969 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000285/0.01941, allocations: 0.5157 MB / 283.2 MB, free: 6.441 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.791e-05/0.0195, allocations: 23.98 kB / 283.2 MB, free: 6.418 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.01973, allocations: 211.2 kB / 283.4 MB, free: 6.145 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.01999, allocations: 172.4 kB / 283.6 MB, free: 5.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.02, allocations: 3.938 kB / 283.6 MB, free: 5.926 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003471/0.02034, allocations: 177.3 kB / 283.7 MB, free: 5.746 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.02036, allocations: 8 kB / 283.8 MB, free: 5.738 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.02037, allocations: 7.938 kB / 283.8 MB, free: 5.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.02038, allocations: 4.047 kB / 283.8 MB, free: 5.727 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.02052, allocations: 39.92 kB / 283.8 MB, free: 5.688 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.02053, allocations: 3.938 kB / 283.8 MB, free: 5.684 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.02066, allocations: 24.19 kB / 283.8 MB, free: 5.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.02067, allocations: 12 kB / 283.8 MB, free: 5.648 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.0001981/0.02087, allocations: 192.6 kB / 284 MB, free: 5.449 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006749/0.02154, allocations: 337.2 kB / 284.4 MB, free: 5.113 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007175/0.02226, allocations: 337 kB / 284.7 MB, free: 4.781 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.02227, allocations: 7.938 kB / 284.7 MB, free: 4.773 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.02228, allocations: 0 / 284.7 MB, free: 4.773 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.02229, allocations: 11.98 kB / 284.7 MB, free: 4.762 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000387/0.02267, allocations: 256.3 kB / 285 MB, free: 4.477 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.02268, allocations: 0 / 285 MB, free: 4.477 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003892/0.02307, allocations: 99.86 kB / 285.1 MB, free: 4.379 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.02308, allocations: 4 kB / 285.1 MB, free: 4.375 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.0231, allocations: 8 kB / 285.1 MB, free: 4.367 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.02311, allocations: 0 / 285.1 MB, free: 4.367 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.02311, allocations: 7.938 kB / 285.1 MB, free: 4.359 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.02442, allocations: 0.8374 MB / 285.9 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.627e-05/0.02448, allocations: 39.67 kB / 286 MB, free: 3.453 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.501e-05/0.02454, allocations: 12 kB / 286 MB, free: 3.441 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.02476, allocations: 27.92 kB / 286 MB, free: 3.414 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.02481, allocations: 11.92 kB / 286 MB, free: 3.402 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.171e-05/0.02484, allocations: 12 kB / 286 MB, free: 3.391 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002358/0.02508, allocations: 233.1 kB / 286.2 MB, free: 3.164 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02508, allocations: 0 / 286.2 MB, free: 3.164 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003771/0.02545, allocations: 59.95 kB / 286.3 MB, free: 3.105 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.0002106/0.02566, allocations: 131.1 kB / 286.4 MB, free: 2.965 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005129/0.02618, allocations: 209.7 kB / 286.6 MB, free: 2.758 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.02618, allocations: 0 / 286.6 MB, free: 2.758 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.245e-05/0.02626, allocations: 32.3 kB / 286.7 MB, free: 2.723 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.0273, allocations: 297.8 kB / 287 MB, free: 2.434 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.02876, allocations: 0.71 MB / 287.7 MB, free: 1.676 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.029, allocations: 205.8 kB / 287.9 MB, free: 1.453 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.23e-05/0.02907, allocations: 22.97 kB / 287.9 MB, free: 1.434 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.608e-05/0.02915, allocations: 32.48 kB / 287.9 MB, free: 1.402 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02915, allocations: 4 kB / 287.9 MB, free: 1.398 MB / 266.7 MB Notification: Performance of Templates: time 0.01024/0.03939, allocations: 4.646 MB / 292.6 MB, free: 12.8 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=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","/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.591939258039929]