Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002147/0.002147, allocations: 209.2 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.161/2.161, allocations: 230.6 MB / 258.2 MB, free: 7.793 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 55.84 kB / 378.9 MB, free: 2.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.4279, allocations: 53.36 MB / 432.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.007532/0.4355, allocations: 2.568 MB / 434.9 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002967/0.4384, allocations: 0.8998 MB / 435.8 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003408/0.4388, allocations: 15.88 kB / 435.8 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.4391, allocations: 59.33 kB / 435.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003648/0.4394, allocations: 71.48 kB / 435.9 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.4405, allocations: 245.8 kB / 436.2 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000606/0.4411, allocations: 378.9 kB / 436.5 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003867/0.4415, allocations: 137.4 kB / 436.7 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002294/0.4418, allocations: 139.4 kB / 436.8 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.442, allocations: 155.2 kB / 436.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.267e-05/0.4421, allocations: 28 kB / 437 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.4423, allocations: 67.97 kB / 437 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.4424, allocations: 87.62 kB / 437.1 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.4426, allocations: 127.3 kB / 437.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006613/0.4432, allocations: 423.9 kB / 437.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.4432, allocations: 3.938 kB / 437.7 MB, free: 1.367 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4432, allocations: 0 / 437.7 MB, free: 1.367 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.4433, allocations: 0 / 437.7 MB, free: 1.367 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.001303/0.4446, allocations: 0.5791 MB / 438.2 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.4446, allocations: 8.031 kB / 438.3 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.4447, allocations: 48.69 kB / 438.3 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006611/0.4454, allocations: 262 kB / 438.6 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.665e-05/0.4454, allocations: 28.97 kB / 438.6 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.79e-05/0.4455, allocations: 28.38 kB / 438.6 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001953/0.4474, allocations: 0.795 MB / 439.4 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.4475, allocations: 3.984 kB / 439.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.298e-05/0.4475, allocations: 12 kB / 439.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.4475, allocations: 4 kB / 439.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00077/0.4483, allocations: 219.8 kB / 439.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.4494, allocations: 0.6064 MB / 440.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/0.451, allocations: 458.1 kB / 440.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006896/0.4517, allocations: 243.9 kB / 440.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005828/0.4523, allocations: 63.72 kB / 441 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.705e-05/0.4523, allocations: 58.42 kB / 441.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 3.466e-06/0.4523, allocations: 0 / 441.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.001891/0.4542, allocations: 0.5089 MB / 441.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002311/0.4544, allocations: 215.8 kB / 441.8 MB, free: 13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004168/0.4549, allocations: 254 kB / 442 MB, free: 12.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.566e-05/0.4549, allocations: 37.7 kB / 442.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.4551, allocations: 152.9 kB / 442.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.159e-05/0.4552, allocations: 55.75 kB / 442.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.4553, allocations: 82.19 kB / 442.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002138/0.4556, allocations: 342.8 kB / 442.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002854/0.4558, allocations: 84.94 kB / 442.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006998/0.4565, allocations: 489.5 kB / 443.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.4576, allocations: 0.532 MB / 443.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.4576, allocations: 4 kB / 443.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001267/0.4588, allocations: 0.4896 MB / 444.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.4589, allocations: 12 kB / 444.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.4589, allocations: 12 kB / 444.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.571e-05/0.4589, allocations: 16.73 kB / 444.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005681/0.4595, allocations: 115.8 kB / 444.4 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-05/0.4595, allocations: 31.86 kB / 444.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004692/0.46, allocations: 51.77 kB / 444.5 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-05/0.4601, allocations: 43.92 kB / 444.5 MB, free: 9.852 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.0003127/0.4604, allocations: 177.6 kB / 444.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001027/0.4614, allocations: 354 kB / 445.1 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.4625, allocations: 360.7 kB / 445.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.4625, allocations: 4 kB / 445.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.4625, allocations: 4 kB / 445.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.4625, allocations: 0 / 445.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004953/0.463, allocations: 213 kB / 445.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.377e-06/0.463, allocations: 0 / 445.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006553/0.4636, allocations: 99.88 kB / 445.7 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.551e-05/0.4637, allocations: 11.94 kB / 445.7 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.64e-05/0.4637, allocations: 19.92 kB / 445.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.4637, allocations: 0 / 445.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.4637, allocations: 4 kB / 445.8 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/0.4657, allocations: 0.7787 MB / 446.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.85e-05/0.4658, allocations: 43.64 kB / 446.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.75e-05/0.4658, allocations: 19.92 kB / 446.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003988/0.4662, allocations: 19.98 kB / 446.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.4663, allocations: 7.984 kB / 446.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.573e-05/0.4663, allocations: 12 kB / 446.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002591/0.4666, allocations: 189.2 kB / 446.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4666, allocations: 0 / 446.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008896/0.4675, allocations: 75.89 kB / 446.9 MB, free: 7.414 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.0002397/0.4677, allocations: 127.2 kB / 447 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001103/0.4688, allocations: 352.5 kB / 447.4 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4688, allocations: 0 / 447.4 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.469, allocations: 28.11 kB / 447.4 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/0.4705, allocations: 304.2 kB / 447.7 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.4728, allocations: 0.7475 MB / 448.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.4731, allocations: 206.3 kB / 448.6 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001799/0.4733, allocations: 43.25 kB / 448.7 MB, free: 5.559 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.4734, allocations: 31.44 kB / 448.7 MB, free: 5.527 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4734, allocations: 0 / 448.7 MB, free: 5.527 MB / 350.1 MB Notification: Performance of Templates: time 0.01859/0.492, allocations: 5.48 MB / 454.2 MB, free: 128 kB / 350.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 7.212746486009564]