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.001033/0.001033, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001062/0.001062, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9696/0.9696, allocations: 177.2 MB / 205 MB, free: 5.297 MB / 186.7 MB " [Timeout remaining time 179] 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 9.22e-07/9.22e-07, allocations: 0 / 273 MB, free: 1.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.007e-05, allocations: 4.984 kB / 273 MB, free: 1.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.002652/0.002672, allocations: 2.661 MB / 275.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.003756, allocations: 0.9306 MB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.003884, allocations: 15.88 kB / 276.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.004029, allocations: 63.38 kB / 276.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.0042, allocations: 67.39 kB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004236/0.004623, allocations: 243.4 kB / 276.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002821/0.004905, allocations: 386.7 kB / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.005081, allocations: 129.4 kB / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.005245, allocations: 199.5 kB / 277.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.005355, allocations: 111.6 kB / 277.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.403e-05/0.005389, allocations: 28 kB / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.204e-05/0.005471, allocations: 79.89 kB / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.956e-05/0.005541, allocations: 79.67 kB / 277.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.49e-05/0.005616, allocations: 103.7 kB / 278 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.00587, allocations: 274.9 kB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.005872, allocations: 4 kB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.005873, allocations: 0 / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.005876, allocations: 0 / 278.3 MB, free: 12.05 MB / 266.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.0006086/0.006485, allocations: 0.6634 MB / 279 MB, free: 11.35 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.666e-05/0.006512, allocations: 8.031 kB / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.653e-05/0.006588, allocations: 60.7 kB / 279 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.006856, allocations: 284 kB / 279.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.006876, allocations: 21.03 kB / 279.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.006908, allocations: 28.38 kB / 279.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006459/0.007554, allocations: 0.6391 MB / 280 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.007565, allocations: 192 / 280 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.00759, allocations: 23.92 kB / 280 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.0076, allocations: 4 kB / 280 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.007748, allocations: 98.16 kB / 280.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005578/0.008306, allocations: 0.7611 MB / 280.9 MB, free: 9.293 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004441/0.00875, allocations: 339 kB / 281.2 MB, free: 8.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.008918, allocations: 174.7 kB / 281.4 MB, free: 8.723 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002027/0.009121, allocations: 75.92 kB / 281.4 MB, free: 8.648 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.009144, allocations: 45.39 kB / 281.5 MB, free: 8.594 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 1.633e-06/0.009146, allocations: 0 / 281.5 MB, free: 8.594 MB / 266.7 MB Notification: Performance of matching and sorting (n=52): time 0.0005481/0.009694, allocations: 345.1 kB / 281.8 MB, free: 8.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.522e-05/0.009779, allocations: 220.7 kB / 282 MB, free: 7.992 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.009942, allocations: 296.4 kB / 282.3 MB, free: 7.688 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.009962, allocations: 33.7 kB / 282.4 MB, free: 7.648 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.253e-05/0.01004, allocations: 199.6 kB / 282.6 MB, free: 7.449 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.01007, allocations: 31.84 kB / 282.6 MB, free: 7.418 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.191e-05/0.01011, allocations: 39.83 kB / 282.6 MB, free: 7.371 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.01022, allocations: 0.504 MB / 283.1 MB, free: 6.855 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.739e-05/0.01025, allocations: 15.98 kB / 283.2 MB, free: 6.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.039e-05/0.01034, allocations: 191.2 kB / 283.3 MB, free: 6.586 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.537e-05/0.01043, allocations: 140.4 kB / 283.5 MB, free: 6.402 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.01043, allocations: 0 / 283.5 MB, free: 6.402 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001497/0.01058, allocations: 165.7 kB / 283.6 MB, free: 6.234 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.0106, allocations: 8 kB / 283.6 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.0106, allocations: 0 / 283.6 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.01061, allocations: 8.047 kB / 283.7 MB, free: 6.219 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.969e-05/0.01069, allocations: 35.97 kB / 283.7 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.0107, allocations: 7.938 kB / 283.7 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.436e-05/0.01076, allocations: 23.86 kB / 283.7 MB, free: 6.152 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.01077, allocations: 12 kB / 283.7 MB, free: 6.141 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.0001002/0.01087, allocations: 183.1 kB / 283.9 MB, free: 5.953 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002609/0.01113, allocations: 249.3 kB / 284.2 MB, free: 5.703 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002841/0.01142, allocations: 260.5 kB / 284.4 MB, free: 5.445 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.01143, allocations: 11.94 kB / 284.4 MB, free: 5.434 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.01143, allocations: 0 / 284.4 MB, free: 5.434 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.01144, allocations: 7.984 kB / 284.4 MB, free: 5.426 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.01163, allocations: 220.3 kB / 284.6 MB, free: 5.176 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.01163, allocations: 0 / 284.6 MB, free: 5.176 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.01183, allocations: 95.89 kB / 284.7 MB, free: 5.082 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.01183, allocations: 4 kB / 284.7 MB, free: 5.078 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.01185, allocations: 11.98 kB / 284.8 MB, free: 5.066 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.01185, allocations: 4 kB / 284.8 MB, free: 5.062 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.01185, allocations: 3.938 kB / 284.8 MB, free: 5.059 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000478/0.01233, allocations: 0.6422 MB / 285.4 MB, free: 4.387 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.263e-05/0.01236, allocations: 39.69 kB / 285.4 MB, free: 4.348 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.0124, allocations: 19.98 kB / 285.5 MB, free: 4.328 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.0125, allocations: 23.92 kB / 285.5 MB, free: 4.305 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.01253, allocations: 7.938 kB / 285.5 MB, free: 4.297 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.01255, allocations: 16.03 kB / 285.5 MB, free: 4.281 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001043/0.01265, allocations: 209.1 kB / 285.7 MB, free: 4.074 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01265, allocations: 0 / 285.7 MB, free: 4.074 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002358/0.01289, allocations: 63.89 kB / 285.8 MB, free: 4.012 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.0001203/0.01301, allocations: 131 kB / 285.9 MB, free: 3.871 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002004/0.01321, allocations: 136.5 kB / 286 MB, free: 3.738 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01321, allocations: 0 / 286 MB, free: 3.738 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.307e-05/0.01324, allocations: 27.88 kB / 286.1 MB, free: 3.707 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005253/0.01376, allocations: 248.4 kB / 286.3 MB, free: 3.465 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.01486, allocations: 0.6631 MB / 287 MB, free: 2.754 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.161e-05/0.01494, allocations: 129.2 kB / 287.1 MB, free: 2.602 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.796e-05/0.01502, allocations: 18.98 kB / 287.1 MB, free: 2.586 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.61e-05/0.0151, allocations: 28.48 kB / 287.1 MB, free: 2.555 MB / 266.7 MB Notification: Performance of SimCode: time 1.813e-06/0.0151, allocations: 4 kB / 287.1 MB, free: 2.551 MB / 266.7 MB Notification: Performance of Templates: time 0.1314/0.1465, allocations: 4.888 MB / 292 MB, free: 25.46 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7400348698720336]