Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001554/0.001554, allocations: 117.9 kB / 21.18 MB, free: 0.6289 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.001744/0.001744, allocations: 202.8 kB / 24.46 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.498/1.498, allocations: 230.4 MB / 258.1 MB, free: 8.141 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 71.83 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3457, allocations: 53.32 MB / 432 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.005036/0.3507, allocations: 2.728 MB / 434.8 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.3528, allocations: 0.9544 MB / 435.7 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002927/0.3531, allocations: 11.94 kB / 435.7 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002961/0.3534, allocations: 55.39 kB / 435.8 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003695/0.3538, allocations: 71.44 kB / 435.9 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008578/0.3546, allocations: 246.6 kB / 436.1 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005176/0.3552, allocations: 378.9 kB / 436.5 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003138/0.3555, allocations: 136.8 kB / 436.6 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.3557, allocations: 143.4 kB / 436.7 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002345/0.3559, allocations: 151.2 kB / 436.9 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.543e-05/0.356, allocations: 32 kB / 436.9 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.3561, allocations: 71.91 kB / 437 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.3563, allocations: 79.75 kB / 437.1 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.3565, allocations: 167 kB / 437.2 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006955/0.3571, allocations: 411.7 kB / 437.6 MB, free: 1.758 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3572, allocations: 3.984 kB / 437.6 MB, free: 1.754 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3572, allocations: 0 / 437.6 MB, free: 1.754 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.3572, allocations: 7.938 kB / 437.6 MB, free: 1.746 MB / 334.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.001299/0.3585, allocations: 0.6505 MB / 438.3 MB, free: 1.047 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.3585, allocations: 12.03 kB / 438.3 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.941e-05/0.3586, allocations: 36.7 kB / 438.3 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000634/0.3592, allocations: 336 kB / 438.7 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.965e-05/0.3593, allocations: 32.92 kB / 438.7 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.234e-05/0.3593, allocations: 24.38 kB / 438.7 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.3608, allocations: 0.7403 MB / 439.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.3608, allocations: 7.984 kB / 439.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.3609, allocations: 12 kB / 439.5 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.3609, allocations: 4 kB / 439.5 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005814/0.3615, allocations: 219.8 kB / 439.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.3625, allocations: 0.7645 MB / 440.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.3636, allocations: 0.5964 MB / 441.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004943/0.3641, allocations: 239.9 kB / 441.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008004/0.3649, allocations: 0.601 MB / 441.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.365, allocations: 46.55 kB / 441.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 2.675e-06/0.365, allocations: 0 / 441.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.001297/0.3663, allocations: 0.5283 MB / 442.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001764/0.3665, allocations: 207.9 kB / 442.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003636/0.3668, allocations: 246.6 kB / 442.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.3669, allocations: 41.83 kB / 443 MB, free: 11.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.367, allocations: 156.8 kB / 443.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.057e-05/0.367, allocations: 51.81 kB / 443.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.3672, allocations: 82.25 kB / 443.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.3673, allocations: 346.8 kB / 443.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.3675, allocations: 85.06 kB / 443.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005256/0.3681, allocations: 439 kB / 444.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007115/0.3688, allocations: 0.5242 MB / 444.6 MB, free: 9.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.3688, allocations: 4 kB / 444.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008483/0.3696, allocations: 0.4929 MB / 445.1 MB, free: 9.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.3696, allocations: 8.969 kB / 445.1 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.3697, allocations: 12 kB / 445.1 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.653e-05/0.3697, allocations: 16 kB / 445.1 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/0.3701, allocations: 127.8 kB / 445.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.284e-05/0.3701, allocations: 23.92 kB / 445.3 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002745/0.3704, allocations: 47.73 kB / 445.3 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.3704, allocations: 28 kB / 445.4 MB, free: 9.176 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (61): * Single equations (assignments): 61 * 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.0002728/0.3707, allocations: 189.5 kB / 445.6 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000714/0.3714, allocations: 361.9 kB / 445.9 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007726/0.3722, allocations: 352.8 kB / 446.3 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.3722, allocations: 8 kB / 446.3 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.3722, allocations: 0 / 446.3 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.3722, allocations: 0 / 446.3 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004523/0.3726, allocations: 353 kB / 446.6 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.575e-06/0.3726, allocations: 4 kB / 446.6 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003994/0.373, allocations: 103.8 kB / 446.7 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.373, allocations: 4 kB / 446.7 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/0.3731, allocations: 12 kB / 446.7 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3731, allocations: 0 / 446.7 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.3731, allocations: 4 kB / 446.7 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/0.3745, allocations: 0.7747 MB / 447.5 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.3746, allocations: 120.8 kB / 447.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.524e-05/0.3746, allocations: 16.06 kB / 447.6 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.3749, allocations: 35.91 kB / 447.7 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.3749, allocations: 0 / 447.7 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.941e-05/0.375, allocations: 20.36 kB / 447.7 MB, free: 6.738 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002056/0.3752, allocations: 182 kB / 447.9 MB, free: 6.562 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3752, allocations: 0 / 447.9 MB, free: 6.562 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005764/0.3757, allocations: 71.95 kB / 447.9 MB, free: 6.492 MB / 350.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.0002361/0.376, allocations: 135.1 kB / 448.1 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008106/0.3768, allocations: 344.6 kB / 448.4 MB, free: 6.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.3768, allocations: 8 kB / 448.4 MB, free: 6.004 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.3769, allocations: 27.92 kB / 448.4 MB, free: 5.977 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.378, allocations: 298.8 kB / 448.7 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.3796, allocations: 0.7837 MB / 449.5 MB, free: 4.855 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004888/0.3801, allocations: 0.8159 MB / 450.3 MB, free: 4.012 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.71e-05/0.3802, allocations: 35.44 kB / 450.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3802, allocations: 0 / 450.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of Templates: time 0.008457/0.3886, allocations: 4.522 MB / 454.9 MB, free: 15.48 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 8.076554602012038]