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.001549/0.001549, allocations: 89.53 kB / 20.69 MB, free: 1.02 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.001879/0.001879, allocations: 158 kB / 23.95 MB, free: 4.152 MB / 14.72 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.42/1.42, allocations: 177 MB / 204.1 MB, free: 9.188 MB / 190.1 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.764e-06/1.764e-06, allocations: 0.6562 kB / 325 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.413e-05, allocations: 2.281 kB / 325 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.003895/0.003919, allocations: 2.553 MB / 327.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.005764, allocations: 0.9203 MB / 328.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.005951, allocations: 10.53 kB / 328.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.006179, allocations: 64.14 kB / 328.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.006465, allocations: 71.5 kB / 328.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007625/0.007228, allocations: 247.2 kB / 328.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004782/0.007706, allocations: 388.4 kB / 329.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002905/0.007997, allocations: 131.5 kB / 329.3 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003223/0.008319, allocations: 196.9 kB / 329.5 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.008512, allocations: 114.2 kB / 329.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.87e-05/0.00857, allocations: 31.72 kB / 329.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.008713, allocations: 71.97 kB / 329.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.008842, allocations: 84.44 kB / 329.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.008983, allocations: 98.84 kB / 329.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006213/0.009604, allocations: 431.6 kB / 330.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.009607, allocations: 1.062 kB / 330.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.009608, allocations: 0 / 330.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.009621, allocations: 0 / 330.4 MB, free: 13.21 MB / 302.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.001179/0.0108, allocations: 0.5792 MB / 330.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.01084, allocations: 9.25 kB / 330.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.453e-05/0.01093, allocations: 40.58 kB / 331 MB, free: 12.69 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005209/0.01145, allocations: 273.4 kB / 331.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.01148, allocations: 20.62 kB / 331.3 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.304e-05/0.01153, allocations: 25.56 kB / 331.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.01304, allocations: 0.7972 MB / 332.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.01306, allocations: 1.219 kB / 332.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.415e-05/0.01309, allocations: 18.28 kB / 332.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.0131, allocations: 7.094 kB / 332.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005897/0.01369, allocations: 216.6 kB / 332.3 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000874/0.01456, allocations: 0.6107 MB / 332.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.01563, allocations: 465.8 kB / 333.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005311/0.01617, allocations: 246.5 kB / 333.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004367/0.0166, allocations: 65.59 kB / 333.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.511e-05/0.01665, allocations: 39.62 kB / 333.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 2.385e-06/0.01665, allocations: 0 / 333.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=52): time 0.001313/0.01796, allocations: 0.5267 MB / 334.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001671/0.01813, allocations: 211.4 kB / 334.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.01842, allocations: 255.4 kB / 334.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.098e-05/0.01846, allocations: 36.11 kB / 334.8 MB, free: 10.01 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.01859, allocations: 148.7 kB / 334.9 MB, free: 9.875 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.244e-05/0.01863, allocations: 34.11 kB / 334.9 MB, free: 9.848 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.76e-05/0.0187, allocations: 38.8 kB / 335 MB, free: 9.816 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.01886, allocations: 335.6 kB / 335.3 MB, free: 9.484 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.01899, allocations: 45.41 kB / 335.3 MB, free: 9.465 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.01923, allocations: 191.1 kB / 335.5 MB, free: 9.262 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003074/0.01954, allocations: 160.1 kB / 335.7 MB, free: 9.125 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01954, allocations: 3.938 kB / 335.7 MB, free: 9.121 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000426/0.01997, allocations: 208.9 kB / 335.9 MB, free: 9 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.01999, allocations: 6.156 kB / 335.9 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.01999, allocations: 3.656 kB / 335.9 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.02001, allocations: 6.906 kB / 335.9 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.02017, allocations: 41.28 kB / 336 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.02018, allocations: 3.625 kB / 336 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.02032, allocations: 26.09 kB / 336 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.02034, allocations: 6.5 kB / 336 MB, free: 8.969 MB / 302.1 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.0002001/0.02054, allocations: 166.2 kB / 336.1 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006803/0.02122, allocations: 340.2 kB / 336.5 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007275/0.02194, allocations: 359 kB / 336.8 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.02195, allocations: 9.656 kB / 336.8 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.02196, allocations: 2.188 kB / 336.8 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.02197, allocations: 8.984 kB / 336.9 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000337/0.02231, allocations: 215.9 kB / 337.1 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.868e-06/0.02232, allocations: 5.016 kB / 337.1 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003923/0.02271, allocations: 99.91 kB / 337.2 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.02271, allocations: 3.062 kB / 337.2 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.02274, allocations: 7.562 kB / 337.2 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.02275, allocations: 2.438 kB / 337.2 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.02275, allocations: 9.156 kB / 337.2 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.02419, allocations: 0.7741 MB / 338 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.509e-05/0.02425, allocations: 51.59 kB / 338 MB, free: 7.637 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.571e-05/0.02432, allocations: 12 kB / 338 MB, free: 7.625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/0.02457, allocations: 27.97 kB / 338.1 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.02461, allocations: 8 kB / 338.1 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.581e-05/0.02464, allocations: 20 kB / 338.1 MB, free: 7.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002027/0.02484, allocations: 185.2 kB / 338.3 MB, free: 7.387 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.02484, allocations: 0 / 338.3 MB, free: 7.387 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004321/0.02528, allocations: 67.83 kB / 338.3 MB, free: 7.32 MB / 302.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.0002045/0.02548, allocations: 123.2 kB / 338.4 MB, free: 7.191 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005856/0.02607, allocations: 227.2 kB / 338.7 MB, free: 6.973 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.02607, allocations: 4 kB / 338.7 MB, free: 6.969 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.02619, allocations: 31.91 kB / 338.7 MB, free: 6.938 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.02726, allocations: 295.4 kB / 339 MB, free: 6.641 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.02869, allocations: 0.6871 MB / 339.7 MB, free: 5.918 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.0289, allocations: 205.8 kB / 339.9 MB, free: 5.699 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.444e-05/0.02897, allocations: 22.97 kB / 339.9 MB, free: 5.672 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.358e-05/0.02905, allocations: 32.48 kB / 339.9 MB, free: 5.641 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.02905, allocations: 0 / 339.9 MB, free: 5.641 MB / 302.1 MB Notification: Performance of Templates: time 0.009575/0.03862, allocations: 4.614 MB / 344.5 MB, free: 1.082 MB / 302.1 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.315887227654457]