Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002106/0.002106, allocations: 92.62 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 153.4 kB / 24.26 MB, free: 184 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 173.4 MB / 200.8 MB, free: 9.297 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.054e-05/4.266e-05, allocations: 6.25 kB / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.008109/0.008152, allocations: 2.555 MB / 269.9 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003341/0.01149, allocations: 0.8801 MB / 270.7 MB, free: 3.277 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004201/0.01191, allocations: 15.88 kB / 270.7 MB, free: 3.262 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004124/0.01233, allocations: 63.33 kB / 270.8 MB, free: 3.199 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004872/0.01281, allocations: 55.52 kB / 270.9 MB, free: 3.145 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.01413, allocations: 243.3 kB / 271.1 MB, free: 2.906 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009316/0.01506, allocations: 394.8 kB / 271.5 MB, free: 2.52 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000513/0.01557, allocations: 129.4 kB / 271.6 MB, free: 2.391 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005347/0.01611, allocations: 195.5 kB / 271.8 MB, free: 2.199 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003299/0.01644, allocations: 111.6 kB / 271.9 MB, free: 2.09 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.01656, allocations: 32 kB / 271.9 MB, free: 2.059 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002387/0.0168, allocations: 63.97 kB / 272 MB, free: 1.996 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002009/0.017, allocations: 83.67 kB / 272.1 MB, free: 1.914 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002541/0.01725, allocations: 99.69 kB / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.01825, allocations: 438.4 kB / 272.6 MB, free: 1.387 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.01826, allocations: 4 kB / 272.6 MB, free: 1.383 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01826, allocations: 0 / 272.6 MB, free: 1.383 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.01827, allocations: 0 / 272.6 MB, free: 1.383 MB / 250.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.002034/0.02031, allocations: 0.5636 MB / 273.2 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.02036, allocations: 12.03 kB / 273.2 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000235/0.0206, allocations: 68.59 kB / 273.3 MB, free: 0.707 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009192/0.02151, allocations: 285.2 kB / 273.5 MB, free: 412 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.149e-05/0.02157, allocations: 21.03 kB / 273.6 MB, free: 392 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.02167, allocations: 32.31 kB / 273.6 MB, free: 360 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002791/0.02446, allocations: 0.793 MB / 274.4 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.02449, allocations: 192 / 274.4 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.383e-05/0.02455, allocations: 19.92 kB / 274.4 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.02457, allocations: 4 kB / 274.4 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.02573, allocations: 219.8 kB / 274.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.02726, allocations: 0.6104 MB / 275.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00228/0.02954, allocations: 460.7 kB / 275.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009882/0.03053, allocations: 243.8 kB / 275.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007895/0.03132, allocations: 67.94 kB / 276 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.23e-05/0.0314, allocations: 54.31 kB / 276 MB, free: 13.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 3.427e-06/0.03141, allocations: 0 / 276 MB, free: 13.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=52): time 0.002629/0.03404, allocations: 0.54 MB / 276.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000302/0.03434, allocations: 211.9 kB / 276.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005664/0.0349, allocations: 249.9 kB / 277 MB, free: 12.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.747e-05/0.03497, allocations: 33.7 kB / 277.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.03521, allocations: 157 kB / 277.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.692e-05/0.03529, allocations: 35.72 kB / 277.3 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.03541, allocations: 33.72 kB / 277.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002989/0.0357, allocations: 334.8 kB / 277.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.03596, allocations: 48.89 kB / 277.7 MB, free: 12.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004764/0.03643, allocations: 189.3 kB / 277.8 MB, free: 11.81 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005872/0.03702, allocations: 165.3 kB / 278 MB, free: 11.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.03702, allocations: 0 / 278 MB, free: 11.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0008431/0.03787, allocations: 213.6 kB / 278.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.286e-05/0.0379, allocations: 8 kB / 278.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.03791, allocations: 0 / 278.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.454e-05/0.03794, allocations: 7.938 kB / 278.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003039/0.03825, allocations: 35.92 kB / 278.3 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.03826, allocations: 4 kB / 278.3 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.03853, allocations: 32.19 kB / 278.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.03855, allocations: 7.984 kB / 278.3 MB, free: 11.31 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.0003462/0.03889, allocations: 165.8 kB / 278.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001383/0.04028, allocations: 362 kB / 278.8 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.04166, allocations: 357.5 kB / 279.2 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/0.04168, allocations: 7.938 kB / 279.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.04168, allocations: 0 / 279.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.0417, allocations: 7.984 kB / 279.2 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006472/0.04234, allocations: 209 kB / 279.4 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.085e-05/0.04236, allocations: 8 kB / 279.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008577/0.04322, allocations: 95.88 kB / 279.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.622e-05/0.04324, allocations: 4 kB / 279.5 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.443e-05/0.04328, allocations: 8 kB / 279.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-05/0.0433, allocations: 15.92 kB / 279.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.04331, allocations: 3.938 kB / 279.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002397/0.04571, allocations: 0.7809 MB / 280.3 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.04581, allocations: 51.62 kB / 280.4 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.657e-05/0.04588, allocations: 16.06 kB / 280.4 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003142/0.04619, allocations: 23.97 kB / 280.4 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.04624, allocations: 11.94 kB / 280.4 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.812e-05/0.04628, allocations: 19.92 kB / 280.4 MB, free: 9.113 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002404/0.04652, allocations: 181.2 kB / 280.6 MB, free: 8.934 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04652, allocations: 0 / 280.6 MB, free: 8.934 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004408/0.04696, allocations: 59.95 kB / 280.7 MB, free: 8.875 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.0002206/0.04718, allocations: 127.2 kB / 280.8 MB, free: 8.742 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006363/0.04782, allocations: 227 kB / 281 MB, free: 8.523 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.04782, allocations: 3.938 kB / 281 MB, free: 8.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.04793, allocations: 28.69 kB / 281 MB, free: 8.492 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.04904, allocations: 313.2 kB / 281.3 MB, free: 8.184 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.05067, allocations: 0.7037 MB / 282 MB, free: 7.441 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.05093, allocations: 205.8 kB / 282.3 MB, free: 7.219 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.881e-05/0.05103, allocations: 22.98 kB / 282.3 MB, free: 7.195 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.221e-05/0.05111, allocations: 36.48 kB / 282.3 MB, free: 7.16 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.05112, allocations: 0 / 282.3 MB, free: 7.16 MB / 266.7 MB Notification: Performance of Templates: time 0.01053/0.06164, allocations: 4.626 MB / 286.9 MB, free: 2.59 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWith_AD_DA_Effects/ClockedWith_AD_DA_Effects.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.378542595077306]