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.001338/0.001338, allocations: 82.2 kB / 20.68 MB, free: 1.023 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.001554/0.001554, allocations: 163.1 kB / 23.95 MB, free: 4.16 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 1.456/1.456, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.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 1.864e-06/1.864e-06, allocations: 0 / 325 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.939e-05/3.125e-05, allocations: 2.281 kB / 325 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004019/0.00405, allocations: 2.553 MB / 327.6 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.005971, allocations: 0.9267 MB / 328.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002519/0.006223, allocations: 16.28 kB / 328.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.006459, allocations: 58.86 kB / 328.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002918/0.006751, allocations: 68 kB / 328.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009142/0.007665, allocations: 243 kB / 328.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000531/0.008196, allocations: 387.8 kB / 329.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003037/0.0085, allocations: 126.8 kB / 329.4 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003224/0.008822, allocations: 209.7 kB / 329.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.009034, allocations: 106 kB / 329.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.518e-05/0.009099, allocations: 31.28 kB / 329.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.009269, allocations: 73.09 kB / 329.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.009403, allocations: 83.56 kB / 329.9 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.009541, allocations: 102.8 kB / 330 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006388/0.01018, allocations: 428.5 kB / 330.4 MB, free: 13.24 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.01018, allocations: 0 / 330.4 MB, free: 13.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.01019, allocations: 0 / 330.4 MB, free: 13.24 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.01019, allocations: 1.188 kB / 330.4 MB, free: 13.24 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.00123/0.01142, allocations: 0.5741 MB / 331 MB, free: 12.74 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.01147, allocations: 9.875 kB / 331 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.455e-05/0.01156, allocations: 40.08 kB / 331 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004813/0.01204, allocations: 273.7 kB / 331.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.01208, allocations: 20.31 kB / 331.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.951e-05/0.01214, allocations: 29.78 kB / 331.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/0.01366, allocations: 0.7926 MB / 332.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.01367, allocations: 5.375 kB / 332.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.639e-05/0.01371, allocations: 15.72 kB / 332.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.01372, allocations: 6.406 kB / 332.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006043/0.01432, allocations: 220.5 kB / 332.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009113/0.01523, allocations: 0.6152 MB / 333 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.01637, allocations: 465.3 kB / 333.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005181/0.01689, allocations: 242.8 kB / 333.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004618/0.01735, allocations: 65.69 kB / 333.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.01739, allocations: 38.78 kB / 333.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 2.204e-06/0.01739, allocations: 0 / 333.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=52): time 0.001455/0.01885, allocations: 0.5314 MB / 334.3 MB, free: 10.49 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000195/0.01904, allocations: 210.6 kB / 334.5 MB, free: 10.26 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003279/0.01937, allocations: 254.5 kB / 334.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.01941, allocations: 31.92 kB / 334.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.01958, allocations: 152.9 kB / 335 MB, free: 9.898 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.73e-05/0.01963, allocations: 29.42 kB / 335 MB, free: 9.875 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.905e-05/0.0197, allocations: 39.02 kB / 335 MB, free: 9.844 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.01987, allocations: 340.9 kB / 335.4 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.02001, allocations: 44.81 kB / 335.4 MB, free: 9.488 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.02026, allocations: 185.5 kB / 335.6 MB, free: 9.293 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003144/0.02057, allocations: 163.2 kB / 335.7 MB, free: 9.152 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.02057, allocations: 1.094 kB / 335.7 MB, free: 9.152 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004261/0.021, allocations: 205.4 kB / 335.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.02102, allocations: 6.562 kB / 336 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.02103, allocations: 6.016 kB / 336 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/0.02106, allocations: 15.11 kB / 336 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.02122, allocations: 38.83 kB / 336 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.02123, allocations: 2.875 kB / 336 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.02139, allocations: 24.62 kB / 336 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.0214, allocations: 7.031 kB / 336 MB, free: 8.996 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.0002246/0.02163, allocations: 167.3 kB / 336.2 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007116/0.02234, allocations: 349.2 kB / 336.5 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007806/0.02312, allocations: 352 kB / 336.9 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.02313, allocations: 13.72 kB / 336.9 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.02314, allocations: 5.562 kB / 336.9 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.02315, allocations: 3.984 kB / 336.9 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003647/0.02351, allocations: 216.8 kB / 337.1 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.02352, allocations: 1.375 kB / 337.1 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000409/0.02393, allocations: 103.6 kB / 337.2 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.02394, allocations: 2.281 kB / 337.2 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/0.02397, allocations: 12.22 kB / 337.2 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.02397, allocations: 2.406 kB / 337.2 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.02397, allocations: 5.188 kB / 337.3 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.02535, allocations: 0.7761 MB / 338 MB, free: 7.723 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.02541, allocations: 47.66 kB / 338.1 MB, free: 7.676 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.121e-05/0.02547, allocations: 19.94 kB / 338.1 MB, free: 7.656 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.02574, allocations: 32.03 kB / 338.1 MB, free: 7.625 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.02578, allocations: 7.938 kB / 338.1 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.585e-05/0.02582, allocations: 15.98 kB / 338.1 MB, free: 7.602 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001909/0.02601, allocations: 177.2 kB / 338.3 MB, free: 7.426 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02601, allocations: 4 kB / 338.3 MB, free: 7.422 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004526/0.02646, allocations: 59.89 kB / 338.4 MB, free: 7.363 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.0002472/0.02671, allocations: 123.2 kB / 338.5 MB, free: 7.234 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006318/0.02734, allocations: 227.2 kB / 338.7 MB, free: 7.016 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.02734, allocations: 0 / 338.7 MB, free: 7.016 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.02746, allocations: 31.91 kB / 338.8 MB, free: 6.984 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.02857, allocations: 302.7 kB / 339.1 MB, free: 6.684 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.03004, allocations: 0.6785 MB / 339.7 MB, free: 5.973 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.03027, allocations: 217.7 kB / 339.9 MB, free: 5.738 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.928e-05/0.03035, allocations: 22.97 kB / 340 MB, free: 5.711 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.35e-05/0.03042, allocations: 32.44 kB / 340 MB, free: 5.68 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.03042, allocations: 0 / 340 MB, free: 5.68 MB / 302.1 MB Notification: Performance of Templates: time 0.01001/0.04043, allocations: 4.611 MB / 344.6 MB, free: 1.121 MB / 302.1 MB " [Timeout remaining time 660] 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 -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/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_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: 4.451113890856504]